Search Issue Tracker
Fixed in 2021.3.32f1
Fixed in 2021.3.X, 2022.3.X, 2023.1.X, 2023.1.17f1, 2023.2.X, 2023.3.X, future release
Votes
0
Found in
2021.3.30f1
2023.1.12f1
Issue ID
UUM-48402
Regression
No
[Linux] Crash on ContainerWindow::ToggleMaximize when EditorWindow is closed during Undo
Reproduction steps:
1. Open the attacher “UndoCrash“ project
2. Open the “Assets/Scene/SampleScene.unity“ scene
3. In the Hierarchy window, select “Crash” GameObject
4. In the Inspector window, under the “Crash Behaviour” script component, set the “Gobj” field to None
5. In the Scene Tools window, select “CT”
6. Click CTRL+Z or Edit > Undo
Expected result: The “Gobj” field is reset to its previous value
Actual result: Unity Editor crashes
Reproducible with: 2021.3.30f1, 2023.1.0a1, 2023.1.12f1
Not reproducible with: 2022.1.0a1, 2022.3.9f1, 2023.2.0a1, 2023.2.0b8, 2023.3.0a4
Reproducible on: Ubuntu 23.04
Not reproducible on: Windows 10 Pro 22H2
First lines of the stack trace:
#2 0x0055e9cf1458e0 in ContainerWindow::ToggleMaximize()
#3 0x0055e9cf13ad45 in GUIView::UpdateBackingScaleFactor()
#4 0x0055e9cf13aa6c in GUIView::UpdateScreenManager()
#5 0x0055e9cea9822d in ExecuteCommandOnAllWindows(core::basic_string<char, core::StringStorageDefault<char> > const&)
#6 0x0055e9cefe92e1 in UndoManager::SyncAfterUndo()
Note: On Windows, this bug leads to an error log in the Unity Editor console (the “GameObject” part is not consistent, as it shows random class type names, for example, ShaderNameRegistry):
PPtr cast failed when dereferencing! Casting from GameObject to MonoBehaviour!
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment