Description

Attempting to debug in VSCode on a Mac using the ProjectName (Debug) (ProjectName) configuration fails due to a missing precompiled file in the binary Engine installation.

REGRESSION:
No. The same behavior occurs in 4.20.3

Steps to Reproduce

SETUP:
This requires a Mac that has VSCode installed.

REPRO:

  1. Create a new Basic Code project.
  2. Set the project to use VSCode.
  3. Close the Editor (and Xcode, if it opened).
  4. Open the VSCode project.
  5. Click the Debug tab.
  6. Start debugging using the ProjectName (Debug) (ProjectName) configuration.

RESULT:
The debug process fails to start with the following error message: ERROR: System.IO.DirectoryNotFoundException: Could not find a part of the path "/Users/Shared/Epic Games/UE_4.21/Engine/Intermediate/Build/Mac/UE4/Debug/Launch/Launch.precompiled".

EXPECTED:
The debug process starts successfully.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-67099 in the post.

1
Login to Vote

Won't Fix
ComponentUE - Foundation - Core
Affects Versions4.214.20.3
CreatedDec 3, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue