Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
1
Found in
2021.2.0a9
2021.2.0b4
2022.1
Issue ID
1352394
Regression
Yes
Crash on PropertyUndoManager::Flush after recompiling scripts
How to reproduce:
1. Open the attached project "Katalyst.zip"
2. Open script "AudioDescriptor.cs"
3. In the opened script add a new comment in line1
4. Save the script and return to Editor
5. Repeat from step 3 until the Editor crashes
Expected result: Editor doesn't crash
Actual result: Editor crashes
Reproducible with: 2021.2.0a9, 2021.2.0b7, 2022.1.0a5
Not reproducible with: 2019.4.29f1, 2020.3.16f1, 2021.1.17f1, 2021.2.0a8
Notes:
- It's reproducible with any script and the changes in the script can be anything
- Should be reproducible in 5 minutes of testing
Stack trace from the user:
0x00007ff76f0abfee (Unity) TypeTree::~TypeTree
0x00007ff76e9258b8 (Unity) dynamic_array<TypeTree,0>::~dynamic_array<TypeTree,0>
0x00007ff76ff2e16f (Unity) std::_List_node<RecordedObject,void * __ptr64>::_Free_non_head<stl_allocator<std::_List_node<RecordedObject,void * __ptr64>,124,16> >
0x00007ff76ff302a2 (Unity) PropertyUndoManager::Flush
0x00007ff76fc16d03 (Unity) Application::TickTimer
0x00007ff7700492e5 (Unity) MainMessageLoop
0x00007ff77004d9ab (Unity) WinMain
0x00007ff771340d62 (Unity) __scrt_common_main_seh
0x00007ffae38354e0 (KERNEL32) BaseThreadInitThunk
0x00007ffae544485b (ntdll) RtlUserThreadStart
-
Bastienre4
Aug 26, 2021 11:44
Hello, any ETA for the fix?
-
Bastienre4
Aug 13, 2021 16:18
Can we have the link to the duplicate bug?
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Long Prefab save times when using Unity 2022.2 and higher
- Console displays error "UnityException: Creating asset at path Assets/Scenes/ .scenetemplate failed." during scene template saving
- "Development Build" watermark is shown in non-development UWP release builds
- Console errors appear when the Inspector is set to Debug and a GameObject is selected
- A script public variable value is not used when set in the Inspector window
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a10
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b13