To step through the issue, in the -DiffOnly cook add a breakpoint to UChildActorComponent::OnRegister and UChildActorComponent::OnUnregister. It should hit 4 times:
This appears to occur because SetChildActorClass call in the user construction script mutates the ChildActorComponent. When we unregister the component, we don't put the component back into its initial state.
One possible quick fix might be to have CleanupPhysicsSceneThatWasInitializedForSave clear bHasRerunConstructionScripts. However, this might require further digging into the nuances of this component.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-220376 in the post.
0 |
Component | UE - Gameplay - Components |
---|---|
Target Fix | 5.6 |
Created | Jul 26, 2024 |
---|---|
Updated | Sep 30, 2024 |