#[1.0.11] Entities Hierarchy keep stop working

1 messages · Page 1 of 1 (latest)

kindred pelican
#

Looks like Entities Hierarchy easily to stop working after code compilation. Sometimes will fix after enter playmode but sometimes needs to restart editor

Unity.Entities.Editor.HierarchyWindow.OnWorldSelected (Unity.Entities.World world) (at ./Library/PackageCache/com.unity.entities@1.0.11/Unity.Entities.Editor/Hierarchy/HierarchyWindow.cs:396)
Unity.Entities.Editor.DOTSEditorWindow.Update () (at ./Library/PackageCache/com.unity.entities@1.0.11/Unity.Entities.Editor/Common/DOTSEditorWindow.cs:193)
UnityEditor.HostView.SendUpdate () (at <da771086bc2e4cfc9ad0a72e083a7f98>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <da771086bc2e4cfc9ad0a72e083a7f98>:0)
Unity.Entities.Editor.HierarchyWindow.OnUpdate () (at ./Library/PackageCache/com.unity.entities@1.0.11/Unity.Entities.Editor/Hierarchy/HierarchyWindow.cs:415)
Unity.Entities.Editor.DOTSEditorWindow.Update () (at ./Library/PackageCache/com.unity.entities@1.0.11/Unity.Entities.Editor/Common/DOTSEditorWindow.cs:196)
UnityEditor.HostView.SendUpdate () (at <da771086bc2e4cfc9ad0a72e083a7f98>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <da771086bc2e4cfc9ad0a72e083a7f98>:0)
deft dawn
#

i think this is maybe already in the queue @indigo fox ?

indigo fox
#

It might be in the queue, yeah. It really depends what the context is for those errors. We have fixed a few UITK initialization issues recently, which should help with stability. I don't think I've ever seen the error in OnWorldSelected however. We might have missed something with it. Thanks for the report!

long herald
#

Looking at the code, the OnUpdate one is fixed via:

                return;

But it looks like OnWorldSelected doesn't have the guard.

indigo fox
indigo fox
# kindred pelican Another error spamming

That's new. @deft dawn can you log that one? I'm on vacation and don't have access to my work computer. For what it's worth, it doesn't seem editor related: a method called SafeExists should not throw under any circumstances IMO.

deft dawn
#

@kindred pelican do you have a repro for the objectdisposedexception?