[Scene Graph] Adding a Child Entity to a New Parent Does Not Function

Summary

Child Entity does not respect new parents when added through verse. AddEntities seem to silently fail when done so and Child entity continues to follow the old parent.

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

Attach Child Entity to a Parent Entity in a level outliner
In Verse, Add the Child Entity to a New Parent Entity

Expected Result

Child Entity respects the movement and removal of the new parent.

Observed Result

Child ignores new parent and continues following the old parent.

Platform(s)

windows

Upload an image

Additional Notes

Without access to Origin constructor, currently internal, this is extra difficult to work around.

Video result of code:

Attempted Workarounds that fail :

I can reproduce that behavior and can confirm it!
Here is my setup:

First, some entity is added to the scene (On this case, “Generator” entity adds a “Cube” entity to the s cene, where the Cube is child of the Generator entity):

Then, on the “Cube” entity, it tries to reattach itself from “Generator” to “Simulation Entity” (or any other entity on the scene):

This is the given results with the setup above:

As you can see, using NewParent.AddEntities(array{ChildEntity}) will silently fail and not work if the “ChildEntity” is already on the scene and attached to another entity, keeping attached to the old parent.

This behavior contradicts what the digest file says, like mentioned on the image above:

FORT-862356 changed to ‘Needs More Info’. We’re missing information that would help us determine the source of the issue.