Search Issue Tracker
Fixed
Votes
0
Found in
5.5.0f3
Issue ID
858122
Regression
No
Crash in UnityEditor.SerializedObject:ApplyModifiedProperties() when removing array element on prefab component
To reproduce:
1. Open attached project
2. Find DialogueData prefab
3. Remove last element in Char array on Font Manager component
Actual: Editor crashes with Fatal error:
The file 'MemoryStream' is corrupted! Remove it and launch unity again!
[Position out of bounds!]
UnityEditor.GenericMenu:CatchMenu(Object, String[], Int32)
From Editor.log:
The file 'MemoryStream' is corrupted! Remove it and launch unity again!
[Position out of bounds!]
UnityEditor.SerializedObject:ApplyModifiedProperties()
UnityEditor.TargetChoiceHandler:DuplicateArrayElement(Object) (at C:\buildslave\unity\build\Editor\Mono\GUI\TargetChoiceHandler.cs:21)
UnityEditor.GenericMenu:CatchMenu(Object, String[], Int32) (at C:\buildslave\unity\build\artifacts\generated\common\editor\GenericMenuBindings.gen.cs:122)
[C:\buildslave\unity\build\Runtime/Serialize/SerializationCaching/CachedReader.cpp line 214]
(Filename: C:/buildslave/unity/build/Editor/Mono/GUI/TargetChoiceHandler.cs Line: 21)
Expected: Editor shouldn't crash when removing array element
Reproducible: 5.4.3p3, 5.5.0p1, 5.6.0a6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Physics SyncColliders 3x-7x performance regression from 2022LTS to U6
- ListView's '+' button causes a recursively dispatching event when the visual element area is filled up
- Soft keyboard closes immediately after multiple touches are made if Pointer Behavior is set to SingleUnifiedPointer
- UI Image batching breaks when interleaving elements with mixed z-positions and materials
- KeyNotFoundException is thrown when retrieving some values from HyperLinkClickedEventArgs
Add comment