Search Issue Tracker

Active

Under Consideration for 2022.3.X

Votes

0

Found in

2022.3.14f1

Issue ID

UUM-57739

Regression

No

[Linux] Crash on g_type_check_instance_cast after changing Editor layout, creating a new VR template or HDRP project

--

-

Reproductions steps:
1. Create a new project
2. Load custom editor layout
or
1. Create a new project from the VR template
or
1. Create a new project
2. Reset the Editor Layout
or
1. Create a new HDRP project

Expected result: Unity Editor does not crash after following any of these steps
Actual result: Unity Editor crashes

Reproduced with: 2022.3.7f1, 2022.3.14f1

Reproduced on: Linux Mint KDE, Debian, NixOS, PopOS, Fedora 38, Arch, Ubuntu 21.04

First lines of the stack trace:
#0 0x0056606ceb53cc in burst_signal_handler(int, siginfo_t*, void*)
#1 0x007b524da3f100 in __sigaction
#2 0x007b52514dd490 in g_type_check_instance_cast
#3 0x0056606e57d3fa in SetGtkMenuItemLabel(void*, char const*)
#4 0x0056606e54d2e7 in MenuController::Update(MenuItem*, core::basic_string<char, core::StringStorageDefault<char> > const&, bool)
#5 0x0056606e3c260a in SetUndoMenuName(core::basic_string_ref<char> const&, core::basic_string_ref<char> const&)
#6 0x0056606e3d3fbf in UndoManager::UpdateUndoName()
#7 0x0056606e3dbcb7 in UndoManager::ClearUndoSceneHandle(int)
#8 0x0056606e35ff54 in EditorSceneManager::ClosePreviewScene(UnityScene*)
#9 0x0056606ca4cb1d in EditorSceneManager_CUSTOM_ClosePreviewScene_Injected(int const&)
#10 0x0000004214ab82 in (wrapper managed-to-native) UnityEditor.SceneManagement.EditorSceneManager:ClosePreviewScene_Injected (UnityEngine.SceneManagement.Scene&)
#11 0x0000004214aadf in UnityEditor.SceneManagement.EditorSceneManager:ClosePreviewScene (UnityEngine.SceneManagement.Scene)
#12 0x00000042149c27 in UnityEditor.SceneView:OnDisable ()

Note: CQA couldn’t reproduce this issue locally. As this issue has multiple ways to be reproduced, the steps listed here are not precise and there may be more ways to make Unity Editor crash with this exact stack trace

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.