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 '<WorkspaceDir>/Engine/Binaries/ThirdParty/USD/UsdResources/Win64/plugins/hdSt/resources/plugInfo.json'
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
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-273990 in the post.
0 |
Component | UE - Editor - Content Pipeline - USD |
---|---|
Affects Versions | 5.5 |
Target Fix | 5.7 |
Created | Apr 23, 2025 |
---|---|
Updated | May 7, 2025 |