Search Unity

Question Problem when I use the Entities Hierarchy window

Discussion in 'Entity Component System' started by lengxuejian, Oct 15, 2022.

  1. lengxuejian

    lengxuejian

    Joined:
    Sep 18, 2022
    Posts:
    2
    Hi, I am using Entity 1.0 and Unity 2022.2.0b9. I added the physics body component to my prefab and turned it into an entity. It can correctly stop on the Plane. But if I click on this entity in the Entities Hierarchy window and do nothing else then the entity will fall off the Plane.

    I thought clicking on the entity in the Entities Hierarchy window would just show me some information but it looks like it's going to change something. I'm confused about what exactly happens when I click on the entity in the Entities Hierarchy window.
     
    shotoutgames likes this.
  2. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,759
    I believe this only happens if you have the subscene open and likely has to do with live baking. It is a known issue though.

    (I am somewhat surprised how many people keep their subscenes open though)
     
    lengxuejian likes this.
  3. lengxuejian

    lengxuejian

    Joined:
    Sep 18, 2022
    Posts:
    2
    Thanks! Does it seem I should not use subscene?
     
  4. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,759
    No you should definitely use subscenes.