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
Comments (2)
-
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a10
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b13