Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.3.X

Votes

0

Found in

2019.3.0f3

Issue ID

1202521

Regression

No

[Serialization] Editor crashes when undo is pressed after applying changes in prefab of SerializedReference objects

Serialization

-

Editor crashes when undo is pressed after applying changes in prefab of MonoBehaviours with SerializedReference objects. It has also been noticed as seen in the attached video that changes applied to new elements of the array also get applied to previous elements

Steps to reproduce:
1) Open attached project
2) Open MaterialList Scene
3) Make a prefab of MaterialList
4) In Hierarchy, Select MaterialList > In Inspector, Add Cell1
5) Assign a name to Cell 1 and apply the changes > Press Undo

Actual result: Editor crashes when undo is pressed after applying changes in prefab of MonoBehaviours with SerializedReference objects.

Expected result: Changes applied to the prefab are undone on pressing Undo

Occurring on: 2019.3.0f3 (Rev d719fa0632c6)

Note: Unable to check beyond 2019.3.0f3 (Rev d719fa0632c6) as Editor used to crash on applying changes to the prefab. Refer case 1201480

========== OUTPUTTING STACK TRACE ==================

0x00007FF640A6B1BE (Unity) memcpy_repmovs
0x00007FF63D6D45DF (Unity) dynamic_array<unsigned char,0>::erase
0x00007FF63D6CB337 (Unity) ResizeArrayGenericInternal
0x00007FF63D6B7980 (Unity) ApplyPropertyModifictionAtLocation::operator()
0x00007FF63D6B0C0F (Unity) ApplyPropertyRecurse<ApplyPropertyModifictionAtLocation>
0x00007FF63D6B0997 (Unity) ApplyPropertyRecurse<ApplyPropertyModifictionAtLocation>
0x00007FF63D6B0893 (Unity) ApplyPropertyRecurse<ApplyPropertyModifictionAtLocation>
0x00007FF63D6B0C86 (Unity) ApplyPropertyRecurse<ApplyPropertyModifictionAtLocation>
0x00007FF63D6B0C86 (Unity) ApplyPropertyRecurse<ApplyPropertyModifictionAtLocation>
0x00007FF63D6BB9A5 (Unity) ApplyPropertyModifications
0x00007FF63D6BBAF8 (Unity) ApplyPropertyModificationsToObject
0x00007FF63D6BFBCB (Unity) BatchApplyPropertyModification::Complete
0x00007FF63D751C40 (Unity) PropertyDiffUndo::Restore
0x00007FF63D757A97 (Unity) UndoManager::Apply
0x00007FF63D75F2DF (Unity) UndoManager::Undo
0x00007FF63CF37E7C (Unity) MenuController::ExecuteMenuItem
0x00007FF63DAD96EF (Unity) ProcessMainWindowMessages
0x00007FF63DACD365 (Unity) ContainerWindow::ContainerWndProc
0x00007FF971A063ED (USER32) CallWindowProcW
0x00007FF971A05DE2 (USER32) DispatchMessageW
0x00007FF63DAD6886 (Unity) MainMessageLoop
0x00007FF63DAE037A (Unity) WinMain
0x00007FF640A48952 (Unity) __scrt_common_main_seh
0x00007FF972597BD4 (KERNEL32) BaseThreadInitThunk
0x00007FF97398CED1 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

Comments (1)

  1. kyuskoj

    Dec 04, 2019 11:15

    How can i get 2019.3.0f3 ?
    I can only see 2019.3.0f1.

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.