Steps to reproduce:
- Create a new URP project
- Enable "Use new Hierarchy window" property in Preferences window
- From the Package Manager, install the Entities package (com.unity.entities)
- Once installed, observe "Editor World" appears in the Hierarchy
- Right-click on the "Editor World" few times (nothing happens)
- Close the Unity Editor
- Observe once Editor is closed
Actual results: Bug reporter opens and Editor crashes during close
Expected results: The Editor closes normally without crashing
Reproducible with versions: 6000.5.0b1, 6000.5.0b6, 6000.6.0a4
Can’t test with versions: 6000.3.14f1, 6000.4.5f1 (Editor World not available in the Hierarchy)
Tested on (OS): macOS 26.4
First few lines of stacktrace:
#0 0x000001733ce9ec in mono_jit_runtime_invoke
#1 0x00000173554b38 in do_runtime_invoke
#2 0x00000173554a78 in mono_runtime_invoke
#3 0x000001079466a0 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)
#4 0x0000010791d208 in ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)