Reproduction steps:
1. Create a new “2D URP” project
2. Open the Tile Palette window (Window > 2D > Tile Palette)
3. Press on the “Create New Tilemap” dropdown
Expected result: New tilemap is created
Actual result: “MissingReferenceException: The object of type 'UnityEditor.HostView' has been destroyed but you are still trying to access it.” or “MissingReferenceException: The object of type 'UnityEditor.ContainerWindow' has been destroyed but you are still trying to access it..” errors are thrown and the Editor eventually crashes
Reproducible with: 6000.0.50f1 (f1ef1dca8bff), 6000.1.5f1, 6000.2.0b3
Not reproducible with: 2022.3.62f1, 6000.0.49f1 (840e0a9776d9)
Couldn’t test with:
Reproducible on: Ubuntu 24.04
Not reproducible on: Windows 10
First lines of the stack trace:
#0 0x0057ec63d4da6c in burst_signal_handler(int, siginfo_t*, void*)
#1 0x00749b8ba45330 in (Unknown)
#2 0x00749b8c965385 in gtk_widget_get_window
#3 0x0057ec657ef678 in ContainerPlatform::ConnectGtkInputEvents(_GtkWidget*)
#4 0x0057ec657effe3 in ContainerPlatform::WaitForGtkEvent(_GtkWidget*, bool*, char const*)
#5 0x0057ec657f0608 in ContainerPlatform::SetGtkWindowSizeAndPositionSync(ContainerWindow*, int, int, int, int)
#6 0x0057ec657f0885 in ContainerWindow::SetRect(RectT<float> const&, bool)
Note:
- Sometimes the Editor does not crash from the first click, so try multiple presses