Search Unity

Bug Nested Authoring components not converted in convert and inject go mode

Discussion in 'Entity Component System' started by SkandYxyz, Jul 11, 2022.

  1. SkandYxyz

    SkandYxyz

    Joined:
    Mar 13, 2015
    Posts:
    83
    Hi,

    I try to create a state machine with a state authoring component attached to a parent gameobject and a transition authoring component attached to a child go. I enabled the convert to entity checkbox and the corresponding script is added. The conversion works when i select convert and destroy go mode. State and child transition entity are created in runtime. It does not work in convert and inject go mode. The go side is injected as supposed with a state and child transition go, but the entity side now only consists of a state entity, no attatched or otherwise existing transition entity. Am I missing something? I'm using entities 0.51. Thank you In advance.

    Andre