Description

It seems that the [Link Removed] UBT creates to ensure any child processes are terminated on close is somehow affecting the mspdbsrv process that cl is spawning and terminating it when cl is finished, and is causing PDB API errors. Seems to be intermittent.

Steps to Reproduce
  1. In taskmanager, ensure no mspdbsrv.exe processes are running. If any are terminate them
  2. In a .target.cs, set bUsePDBFiles=true
  3. Build the target
  4. Many errors such as the following will appear
D:\UE5\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h(6646): fatal error C1090: PDB API call failed, error code '23': (0x000006BA)

Have Comments or More Details?

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

1
Login to Vote

Fixed
Fix Commit24594788
Main Commit24601415
Release Commit24594788
CreatedMar 9, 2023
ResolvedMar 10, 2023
UpdatedApr 29, 2023
View Jira Issue