When loading soft object paths directly, it applies any important CoreRedirects by calling the function FixupCoreRedirects if the initial load attempt fails. In the repro steps, this will apply this redirect from BaseEngine.ini, which is why it returns ClothingAssetCommon when the code tries to load ClothingAssetNv
+ClassRedirects=(OldName="/Script/ClothingSystemRuntimeNv.ClothingAssetNv",NewName="/Script/ClothingSystemRuntimeCommon.ClothingAssetCommon")
However, this fixup code is not being run when trying to load assets using the StreamableManager. The AssetManager uses this code, so any asset manager references to redirected classes/objects/etc will not work properly. If the StreamableManager code is fixed, the assetmanager will be able to correctly load redirected paths
FSoftObjectPath RedirectedClass(TEXT("/Script/ClothingSystemRuntimeNv.ClothingAssetNv")); UObject* TryLoadClass = RedirectedClass.TryLoad(); UObject* StreamableClass = UAssetManager::Get().GetStreamableManager().LoadSynchronous(RedirectedClass); UE_LOG(LogTemp, Log, TEXT("LoadingRedirected class, TryLoad = %s, StreamableManager = %s"), *GetPathNameSafe(TryLoadClass), *GetPathNameSafe(StreamableClass));
Expected behavior:
If the streamable manager was correctly applying core redirects the log line should look like
LoadingRedirected class, TryLoad = /Script/ClothingSystemRuntimeCommon.ClothingAssetCommon, StreamableManager = /Script/ClothingSystemRuntimeCommon.ClothingAssetCommon
Broken Behavior:
Currently, it fails to apply core redirects properly for the StreamableManager load so outputs:
LoadingRedirected class, TryLoad = /Script/ClothingSystemRuntimeCommon.ClothingAssetCommon, StreamableManager = None
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-296063 in the post.
0 |
Component | UE - Framework |
---|---|
Affects Versions | 5.5, 5.7 |
Target Fix | 5.7 |
Created | Jun 12, 2025 |
---|---|
Updated | Jun 13, 2025 |