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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment