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
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
- [RenderingDebugger][InputSystemPackage] Ctrl+Backspace shortcut doesn't work to open the Rendering Debugger when New Input System is in use
Resolution Note (fix version 2020.2):
Fixed in - 2020.2.0a1 and above