We have been working through some issues trying to use the WorldPartitionCellTransformers. We are on 5.5.4 and have integrated these CLs to fix some issues with Blueprints working correctly during the transform process:
`Bring back CL38157186 with fix from Ben Ziegler: change actor ExecuteConstruction to correctly register blueprint-added components on actors that have been fully registered, even if world has not been initialized.
#rb ben.zeigler, dan.oconnor
#preflight 673cb63ca34c8e9288b6c246
#okforgithub public
#submittool SubmitTool-Development-5.3.0.CL-38118620`And hacked integrated this without its previous revisions
[Cell Transformer] Replace references to objects that could be recreated during RerunConstructionScripts triggered from ApplyRuntimeCellsTransformerStack ApplyRuntimeCellsTransformerStack is executed before components are registered, which means that for actors that have actors attached to them, AttachChildren array won't be populated yet. That information is not serialized (unlike AttachParent property) and is constructed during component registration based on AttachParent information. Because of that, when recreating objects during RerunConstructionScripts triggered from ApplyRuntimeCellsTransformerStack, we could recreate a parent object without updating AttachParent property on its children. This can lead to "Reachable garbage object" GC Warning - AttachParent pointing at garbage objects. Under normal flow that's handled by RerunConstructionScripts, using AttachChildren array. Since that is not available yet in this case, we have to handle that on our side. #preflight 6876a3fb317b2cba4b747252 #rb Richard.Malo #okforgithub public #submittool SubmitTool-Development-6.1.2.CL-43493068
and:
Don't add root component if the blueprint doesn't support a construction script but currently has one #preflight 66f44263387f45e004445fd7 #rb ben.hoffman #jira UE-225440 #okforgithub public [RN] The blueprint compiler no longer attempts to add a scene
and
Fix references being cleared upon archetype reinstantiation UDN case number 12529527 Regression introduced in cl 28083808 and was probably a cut&paste error, the bClearReference was false previously and was turned on in that cl. #preflight 66d8d4944d3fefb970d661f8 #rb Cody.Albert, dan.oconnor #okforgithub public [RN] Fix Archetypes self reference being reset bug during reinstantiation code. #submittool SubmitTool-Development-5.0.0.124120492
and
Bring back CL38157186 with fix from Ben Ziegler: change actor ExecuteConstruction to correctly register blueprint-added components on actors that have been fully registered, even if world has not been initialized. #rb ben.zeigler, dan.oconnor #preflight 673cb63ca34c8e9288b6c246 #okforgithub public #submittool SubmitTool-Development-5.3.0.CL-38118620
Here is the last issue we are facing. If you have a BP actor in the editor attached to an parent actor, for example a target point actor. Inside UWorldPartition::ApplyRuntimeCellsTransformerStack when LevelActor->RerunConstructionScripts() is called it can result in these attached Blueprint actors to lose their world transform during the detach and re-attach step of the construction script. The result is that the BP Actor will be put at its relative position in the world after its re-attached instead of back at its world transform.
Is this a bug you guys have tracked down and fixed? I am looking through submits and can’t seem to find anything directly related to it…
Thanks for any help