Description

Launching multiple Editor processes at the same time with the USD Core plugin enabled can cause warnings to be logged like the following:

LogUsd: Warning: Failed to update LibraryPath for USD plugInfo.json file &#39;<WorkspaceDir>/Engine/Binaries/ThirdParty/USD/UsdResources/Win64/plugins/hdSt/resources/plugInfo.json&#39;  

This is seemingly because FUnrealUSDWrapperModule::StartupModule calls IUsdClassesModule::UpdatePlugInfoFiles, which then tries to get an exclusive write lock on various plugin info files. When multiple processes start at the same time, this can cause the above warning, as one of the other processes can already have locked the file and thus cause the operation to fail.

When this happens, we're running commandlets that don't (intentionally) rely on this USD plugin, so this seems like a generic initialization routine. We run command-lines like the following for various different commandlets in parallel:

UnrealEditor.exe "Path\To\My\Project.uproject" -Log -Unattended -NoPause -NoSound -BuildMachine -MultiProcess -Run=MyCommandlet  

I would hope that, in particular, the -MultiProcess argument would ensure that this issue would not happen.

Is there anything we can do in the immediate term to fix this issue, please? Is this something that could be looked at and made safe for a future release?

Steps to Reproduce

Steps to Reproduce

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Editor - Content Pipeline - USD
Affects Versions5.5
Target Fix5.7
CreatedApr 23, 2025
UpdatedMay 7, 2025
View Jira Issue