Search Issue Tracker

Fixed

Fixed in 2022.2.0b8, 2023.1.0a7

Votes

0

Found in

2022.2.0b2

2023.1.0a4

Issue ID

UUM-9631

Regression

Yes

Crash on UndoManager::RegisterUndoOperation when exiting Play Mode after saving changes in Shader Graph

--

-

How to reproduce:
1. Open the attached project "Bubble Bobble Remake.zip"
2. Open Assets/Shaders/Bubble_Graph.shadergraph
3. Move around any node in the Shader Graph window
4. Enter Play Mode
5. Double left mouse click on the Game view window tab
6. Click Save in the popup window
7. Exit Play Mode
8. Repeat steps 2-3

Reproducible with: 2022.2.0a3, 2022.2.0b2, 2023.1.0a4
Not reproducible with: 2020.3.37f1, 2021.3.6f1, 2022.1.10f1, 2022.2.0a2

First lines of the stack trace:
0x00007ff7bb3a80c2 (Unity) dynamic_array<std::shared_ptr<UndoBase>,0>::erase
0x00007ff7bb3a5674 (Unity) UndoManager::RegisterUndoOperation
0x00007ff7bb3a504c (Unity) UndoManager::RegisterUndoInternal
0x00007ff7bb3a42e2 (Unity) RecordStructureChangeAndRegister
0x00007ff7bb3a4d58 (Unity) RegisterUndo
0x00007ff7bae75684 (Unity) UndoBindings::RegisterCompleteObjectUndoMultiple
0x00007ff7b9bb0040 (Unity) Undo_CUSTOM_RegisterCompleteObjectUndoMultiple
0x00000258e5d88653 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.Undo:RegisterCompleteObjectUndoMultiple (UnityEngine.Object,UnityEngine.Object[],string,int)
0x00000258e5d8855b (Mono JIT Code) UnityEditor.Undo:RegisterCompleteObjectUndo (UnityEngine.Object,string)

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.