Search Issue Tracker

Duplicate

Votes

0

Found in

2019.3.0a8

2019.3.0f2

Issue ID

1201722

Regression

No

Crash on Preset::UpdateProperties when you update the array size in preset of SerializeReference interface

Serialization

-

Editor crashes on changing array size of Nodes property of SerializeReference interface objects preset asset.

Steps to repro:
1. Open the attached project.
2. Project Window > Select SerializeFieldHangup preset asset.
3. Inspector > Update Nodes size to 2.

Actual Result:
Editor crashes on updating Nodes size.

Expected Result:
Editor should not crash.

Reproducible with:
2020.1.0a15, 2019.3.0f2 (46d6d422892a), 2019.3.0a8.

Note: Cannot test beyond 2019.3.0a8 due to the bug https://fogbugz.unity3d.com/f/cases/1187296/

Environment:
Windows 10 & Mac 10.14.

========== OUTPUTTING STACK TRACE ==================

0x00007FF75E0ED580 (Unity) strncmp
0x00007FF75A5B1383 (Unity) IsTypeTreePPtr
0x00007FF75AD2EE18 (Unity) CollectPropertyValuesFromSerializedObject
0x00007FF75AD2ED74 (Unity) CollectPropertyValuesFromSerializedObject
0x00007FF75AD2EFF7 (Unity) CollectPropertyValuesFromSerializedObject
0x00007FF75AD2EC7E (Unity) CollectPropertyValuesFromSerializedObject
0x00007FF75AD2EFF7 (Unity) CollectPropertyValuesFromSerializedObject
0x00007FF75AD2EFF7 (Unity) CollectPropertyValuesFromSerializedObject
0x00007FF75AD2F25B (Unity) CollectPropertyValuesFromSerializedObject
0x00007FF75B58D325 (Unity) GetPropertyModificationsFromObject
0x00007FF75B58EB96 (Unity) Preset::UpdateProperties
0x00007FF75B83C8B9 (Unity) Preset_CUSTOM_UpdateProperties
0x00000180BA0FEEE6 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.Presets.Preset:UpdateProperties (UnityEditor.Presets.Preset,UnityEngine.Object)
0x00000180BA0E82BB (Mono JIT Code) UnityEditor.Presets.PresetEditor:DrawInternalInspector ()
0x00000180BA0E7153 (Mono JIT Code) UnityEditor.Presets.PresetEditor:DrawPresetData ()
0x00000180BA0E6FB3 (Mono JIT Code) UnityEditor.Presets.PresetEditor:OnInspectorGUI ()
0x00000180BA0E4DEA (Mono JIT Code) UnityEditor.UIElements.InspectorElement/<>c__DisplayClass55_0:<CreateIMGUIInspectorFromEditor>b__0 ()
0x0000018050A7D2E2 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,bool)
0x0000018050A7C5CB (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool)
0x00000180B7073013 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x00000180B7072DB3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool)
0x00000180BA1084F3 (Mono JIT Code) UnityEngine.UIElements.KeyboardEventDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x00000180B692177D (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x00000180B691F993 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x00000180B691F82B (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x00000180B702CCEB (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x00000180B702C84B (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:ProcessEvent (int,intptr)
0x00000180B702C5A7 (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr)
0x00000180B702C66A (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_bool_int_intptr (object,intptr,intptr,intptr)
0x00007FFF2A7DCBD0 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FFF2A762142 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2921] do_runtime_invoke
0x00007FFF2A76B13F (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2968] mono_runtime_invoke
0x00007FF75C94545E (Unity) scripting_method_invoke
0x00007FF75C93F13D (Unity) ScriptingInvocation::Invoke
0x00007FF75C93913A (Unity) ScriptingInvocation::Invoke<bool>
0x00007FF759D41965 (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007FF75A738EF4 (Unity) GUIView::ProcessRetainedMode
0x00007FF75B1475D6 (Unity) GUIView::OnInputEvent
0x00007FF75A738DEC (Unity) GUIView::ProcessInputEvent
0x00007FF75B148FE5 (Unity) GUIView::ProcessEventMessages
0x00007FF75B1420F9 (Unity) GUIView::GUIViewWndProc
0x00007FFF7C9963ED (USER32) CallWindowProcW
0x00007FFF7C995DE2 (USER32) DispatchMessageW
0x00007FF75B146726 (Unity) MainMessageLoop
0x00007FF75B15021A (Unity) WinMain
0x00007FF75E0B8732 (Unity) __scrt_common_main_seh
0x00007FFF7BA27BD4 (KERNEL32) BaseThreadInitThunk
0x00007FFF7D20CED1 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.