A workaround I found is to create a root component that adds the children, this approach also has issues with the collision of the entity, it also stops working when the spawned prefab has been placed in the editor already
test_root_component<public> := class<unique><final_super>(component):
OnBeginSimulation<override>():void=
NewEntity := Entities.TestPrefab{}
Entity.AddEntities(array{ NewEntity })
custom_verse_component<public> := class<unique><final_super>(component):
OnBeginSimulation<override>():void =
(super:)OnBeginSimulation()
TestRoot := entity{}
TestRoot.AddComponents(array { test_root_component { Entity := TestRoot } })
Entity.AddEntities(array{ TestRoot })