英文:
Invalid Entity | The entity does not exist anymore
问题
我对ECS和DOTS非常新手,但最终还是想尝试一下。我很快遇到了一个问题,在线上找不到任何解决方法。
当我在Subscene中创建一个空的游戏对象并想在游戏视图中查看它时,我只得到了以下结果:
到目前为止,我只有一个空的Unity 2022.2.12 URP 3D项目,我的场景中导入了最新的com.unity.entities.graphics
,还有一个名为“EntityScene”的SubScene,里面有一个空的游戏对象。
URP-HighFidelity / Performant-Renderer设置:渲染路径设置为Forward+
英文:
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:
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+
答案1
得分: 1
Empty GameObjects, with only Transform and without any child objects in a SubScene, do not bake to Entities by default in Entities 1.0. According to your screenshot, the Inspector is in forced Runtime mode - a fully filled orange circle (underscore line means it's force-selected to this state).
You should pick automatic or Mixed Authoring because empty GameObjects have no Runtime representation (see my first sentence).
英文:
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).
答案2
得分: 0
你需要切换检视器标签到 Runtime
模式。
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论