Prefabs Root Entities Transform Components Not Getting Added [Post 39.00]

Summary

It seems that all of my existing prefabs root entities are not having their transform components added when spawned at runtime using concrete_subtype(entity)

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Assets

Steps to Reproduce

Make a prefab, add a transform component, add the following component to your project

prefab_test_component <public> := class<final_super>(component):

  @editable entity_subtype : subtype(entity) = entity
  
  OnSimulate<override>()<suspends>:void=
    if(Sim := Entity.GetSimulationEntity[]):
      concrete_entity_subtype : concrete_subtype(entity) = entity_subtype
      Instance := concrete_entity_subtype{}
      Sim.AddEntities(array{Instance})
      if(not Instance.GetComponent[transform_component]):
        Print("No Transform Component Found", ?Duration := 15.0)

No Transform Component Found Will print

Expected Result

All components in a prefab to be added when spawning them at runtime.

Observed Result

transform component skipped adding an additional step to spawning them at runtime.

Platform(s)

Windows

Thank you for the report, the team is checking into this.

FORT-1025759 has been ‘Closed’. We’re unable to reproduce this issue.