Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2020.1.0b10
2020.1.5f1
Issue ID
1277423
Regression
Yes
Editor crashes with memcpy_repmovs when deleting items from multiple arrays using SerializedProperty
How to reproduce:
1. Open the attached project named "ArrayDeleteCrash"
2. "Sprite Asset 1" and "Sprite Asset 2" in the project window
3. Click "Delete First (Crash)" button in the Inspector window
Expected result: The first element from the arrays in both assets is deleted
Actual result: Editor crashes memcpy_repmovs dynamic_array<unsigned char,0>::insert
Reproducible with: 2020.1.0b10, 2020.1.8f1
Not reproducible with: 2019.4.12f1, 2020.1.0b9, 2020.2.0a1, 2020.2.0b5
First lines of the crash stack:
0x00007FF6BEE4998E (Unity) memcpy_repmovs
0x00007FF6BAA47690 (Unity) dynamic_array<unsigned char,0>::insert
0x00007FF6BCE8F132 (Unity) FixAlignmentForArrayResize
0x00007FF6BCE8CEF5 (Unity) DeleteArrayElement
0x00007FF6BCE8CF3D (Unity) DeleteArrayElement
0x00007FF6BCFDAE5F (Unity) SerializedProperty::DeleteCommand
0x00007FF6BCFDAAAF (Unity) SerializedProperty::DeleteArrayElementAtIndex
0x00007FF6BD7D80B1 (Unity) SerializedProperty_CUSTOM_DeleteArrayElementAtIndexInternal
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2020.2):
Fixed in - 2020.2.0a1 and above