Invalid Entity | The entity does not exist anymore

975 Views Asked by At

I am Super new to ECS and DOTS, but wanted to now finally give it a shot. I very quickly ran into a problem where I cannot find anything online. When I create an Empty Game Object in a Subscene and want to look at it in Game View, I just get the following result:

Unity Error

So far all I have is an Empty Unity 2022.2.12 URP 3D project with the newest com.unity.entities.graphics import in my Scene, a SubScene "EntityScene" with an Empty Game Object.

URP-HighFidelity / Performant-Renderer Settings: Render Path to Forward+

2

There are 2 best solutions below

0
Andrew Łukasik On

You need to switch the Inspector tab to Runtime mode:

switch to runtime entities, Unity 2022.2.19, com.unity.entities 1.0.0-pre.65

screenshot taken from Unity 2022.2.19 / com.unity.entities 1.0.0-pre.65

1
EIZENHORN On

Empty GameObjects, with only Transform and without any childs in SubScene not baking to Entities by default in Entities 1.0. According to your screenshot Inspector is in forced Runtime mode - fully filled orange circle (underscore line means it force selected to this state)

Your Inspector in force runtime

You should pick automatic or Mixed\Authoring because empty GameOobject have no Runtime representation (see my first sentense).

Should be