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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2020.2):
Fixed in - 2020.2.0a1 and above