Search Unity

Question Entities not visible in Scene View

Discussion in 'Entity Component System' started by Doomchecker, Dec 1, 2022.

  1. Doomchecker

    Doomchecker

    Joined:
    Apr 5, 2021
    Posts:
    109
    Unity 2022.2.0b16 URP
    Entities 1.0.0-exp.12
    Entities Graphics 1.0.0-exp.14

    Starting out with DOTS, I tried the spawn implementation from the Unity documentation example
    https://docs.unity3d.com/Packages/com.unity.entities@1.0/manual/ecs-workflow-example.html

    also I tried a similar one from Turbo Makes Games on YT


    In the video, the spawned entities are visible in Scene View.

    Even though I closely paid attention to the same steps using a fresh Unity Beta (no preferences changed) the entities are only visible in Game View.

    Someone had this before maybe?
    Thanks for any ideas!
     
    tjumma likes this.
  2. Wieditleestisgek

    Wieditleestisgek

    Joined:
    Dec 18, 2016
    Posts:
    43
    I'm having troubles with this too. since 1.0
     
    charleshendry and shotoutgames like this.
  3. Nichotine

    Nichotine

    Joined:
    Jul 30, 2017
    Posts:
    18
    Same here.
     
  4. Doomchecker

    Doomchecker

    Joined:
    Apr 5, 2021
    Posts:
    109
    No change in pre.15 versions for me.
     
  5. charleshendry

    charleshendry

    Joined:
    Jan 7, 2018
    Posts:
    97
    Same. I've upgraded a project and no Entities are visible anymore.
     
  6. Nichotine

    Nichotine

    Joined:
    Jul 30, 2017
    Posts:
    18
    I was just tooling around getting used to the fact that they're only showing in game view and..... suddenly they're working in scene again. I didn't change anything or do anything, it just started working. Your guess is as good as mine o_O
     
  7. tjumma

    tjumma

    Joined:
    Sep 30, 2019
    Posts:
    12
    Same here with Unity 2022.0 URP and Entities 1.0.0-pre.15
     
  8. tjumma

    tjumma

    Joined:
    Sep 30, 2019
    Posts:
    12
    SOLVED

    If you aren't seeing entities in the Scene View but you can still see them in the Game View - open the Preferences window (Edit > Preferences...) then on the Entities section, make sure "Scene View Mode" is set to "Runtime Data" not "Authoring Data"
     
    codestage, ageana, zevaxa and 40 others like this.
  9. Doomchecker

    Doomchecker

    Joined:
    Apr 5, 2021
    Posts:
    109
    Great!

    Nevertheless, I don't think this thread is useless for new users in the future.

    Thanks tjumma!
     
    D00MX, MirelesJ and tjumma like this.
  10. Moever

    Moever

    Joined:
    Dec 14, 2013
    Posts:
    2
    Awesome, thanks!
     
    tjumma likes this.
  11. korlinga

    korlinga

    Joined:
    May 25, 2017
    Posts:
    3
    Derp; thank you tjumma!
     
  12. Hazardous1

    Hazardous1

    Joined:
    Nov 17, 2018
    Posts:
    3
    Seems this should be added to the Unity Manual for 1.0+ as this is not immediately apparent to people trying to transition to ECS now that there is a full release, thanks for the solution.
     
    zioziozio and tjumma like this.
  13. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    I too, had this problem recently. I think the error should also popup in the editor. Why singleton was loaded fine in the editor is still a question for me.
     
  14. abirpahlwan

    abirpahlwan

    Joined:
    Apr 25, 2016
    Posts:
    1
    In Unity Editor 2022.3.X, from menu options go to Edit -> Preferences -> Entities -> Baking.
    Click the dropdown menu and change Authoring Data to Runtime Data.


    Untitled.png
     
    ageana and IAVAR like this.
  15. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    This option should really be visible on scene view as an toggle instead of just being in the preference. Not very practical.
     
  16. JVLVince

    JVLVince

    Joined:
    Jul 20, 2016
    Posts:
    29
    My life saver. Thanks very much bro :D
     
  17. vendettav

    vendettav

    Joined:
    Mar 16, 2019
    Posts:
    12
    I set to "Runtime Data" not "Authoring Data". Now entities not show in Scene Tab anymore, but still dont show in gametab
     
    gorbatchevartsem likes this.
  18. Juvennn

    Juvennn

    Joined:
    Apr 21, 2020
    Posts:
    2
    Thanks man