Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Destroyed Entity Visible in Inspector

Discussion in 'Entity Component System' started by andreyakladov, Apr 18, 2023.

  1. andreyakladov

    andreyakladov

    Joined:
    Nov 11, 2016
    Posts:
    29
    Is this expected that after EntityManager/EntityCommandBuffer DestroyEntity, entity no longer visible on the scene, however it still in hierarchy in inspector?
     
  2. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,683
    Yes if entity have ICleanupComponentData and it's not removed explicitly