There is an issue with PIE where sometimes TMap and TSet properties using TSoftObjectPtr or FSoftObjectPath values as keys don't work correctly. Items which are in the container aren't found despite being present for example. This happens with both native and BP-defined properties.
The culprit seems to be FPIEFixupSerializer. It is correctly rewriting the paths to add the PLAYWORLD_PACKAGE_PREFIX, but it doesn't trigger a rehash afterwards (like FScriptMapHelper::Rehash()) so if the rewrite causes the path keys to change hashes the container lookups begin to fail.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-184109 in the post.
0 |
Component | UE - Foundation - Core - EditorLoader |
---|---|
Affects Versions | 5.1 |
Target Fix | 5.6 |
Created | Apr 24, 2023 |
---|---|
Updated | Oct 18, 2024 |