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

Scripting

-

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

  1. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0a10

  2. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0b13

Comments (2)

  1. Bastienre4

    Aug 26, 2021 11:44

    Hello, any ETA for the fix?

  2. Bastienre4

    Aug 13, 2021 16:18

    Can we have the link to the duplicate bug?

Add comment

Log in to post comment