This issue is caused by us forcing user defined structs to be loaded as part of AttributeTypes::Initialize. That is called after at the ObjectSystemReady run phase during engine initialization however, this is prior to plugins such as control rig being loaded (control rig is set to predefault load phase).
We cannot fix this by moving AttributeTypes::Initialize to be called at EndOfEngineInit because, in cooked builds, FAttributeCurve::Serialize is called prior to EndOfEngineInit and this requires the attributes to have been initialized. Methods like UE::Anim::AttributeTypes::GetTypeOperator will attempt to lazy load the attributes however, because FAttributeCurve::Serialize is running on a worker thread so we can't call LoadSynchronous from there.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-202840 in the post.
0 |
Component | UE - Anim - Runtime |
---|---|
Affects Versions | 5.3.2 |
Target Fix | 5.4 |
Created | Dec 18, 2023 |
---|---|
Resolved | Feb 7, 2024 |
Updated | Mar 4, 2024 |