Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug [Entities 1.0.0-pre.15] Lose child entity

Discussion in 'Entity Component System' started by LittleBigRex, Jan 3, 2023.

  1. LittleBigRex

    LittleBigRex

    Joined:
    Aug 11, 2021
    Posts:
    11
    If child entity have authoring component in subscene, the relationship of child and parent entities will lose. Them will not have parent component and child component after play the scene. But if child entity only have gameobject component, it can convert to child entity normally.
     
  2. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,877
    Submit a bug report
     
  3. LittleBigRex

    LittleBigRex

    Joined:
    Aug 11, 2021
    Posts:
    11
    I found that it was related to physics. Child Gameobject with physics body or physics shape cannot convert to child entity. But It can convert normally in 1.0.0-exp.12
     
  4. LittleBigRex

    LittleBigRex

    Joined:
    Aug 11, 2021
    Posts:
    11
    Thanks for reply. I found the problem seems to be due to physics component. Does 1.0.0-pre.15 unable the entity with physics body or physics shape parented?
     
  5. MaNaRz

    MaNaRz

    Joined:
    Aug 24, 2017
    Posts:
    117
    Are you refering to the warning you get on child physic bodies? It's been like that forever.


    upload_2023-1-3_21-9-56.png