Search Issue Tracker

Fixed in 2020.1

Fixed in 2019.3

Votes

1

Found in

2019.3.0f2

Issue ID

1201433

Regression

No

[Serialization] Editor crashes when changes are made in prefab/ applied to MonoBehaviours with SerializedReference objects

Serialization

-

Editor crashes when changes are made in prefab/ applied to MonoBehaviours with SerializedReference objects. Refer the attached video

Steps to reproduce:
1) Open attached project
2) Open MaterialList Scene
3) Make a prefab of MaterialList
4) In Hierarchy, Select MaterialList > Add Cell1, Cell2
5) Assign Materials to them > Click on name field of Cell1

Actual result: Editor Crashes on clicking on the name field

Expected result: Name field can be edited

Occurring on: 2019.3.0f2 (Rev 08363a130401)

Note: Cannot test beyond 2019.3.0f2 due to the bug https://fogbugz.unity3d.com/f/cases/1196125/ which crashes on making a prefab

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

0x00007FF71B34420C (Unity) GeneratePropertyDiffInternal
0x00007FF71B344441 (Unity) GeneratePropertyDiffInternal
0x00007FF71B343B1C (Unity) GeneratePropertyDiffInternal
0x00007FF71B3440A0 (Unity) GeneratePropertyDiffInternal
0x00007FF71B344441 (Unity) GeneratePropertyDiffInternal
0x00007FF71B344441 (Unity) GeneratePropertyDiffInternal
0x00007FF71B3431C3 (Unity) GeneratePropertyDiff
0x00007FF71B342EC0 (Unity) GeneratePrefabPropertyDiff
0x00007FF71B311480 (Unity) RecordPrefabInstancePropertyModifications
0x00007FF71B48A874 (Unity) SerializedObject::ApplyModifiedPropertiesWithoutUndo
0x00007FF71BE66202 (Unity) SerializedObject_CUSTOM_ApplyModifiedProperties
0x0000020FC5C32B93 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.SerializedObject:ApplyModifiedProperties (UnityEditor.SerializedObject)
0x0000020FC5C4AB83 (Mono JIT Code) [C:\Users\gs1801\3D Objects\SerializedReferencePrefabRepro\Assets\Scripts\SerializedMaterialList.cs:62] SerializedMaterialListEditor:OnInspectorGUI ()
0x0000020FC5B67B9C (Mono JIT Code) UnityEditor.UIElements.InspectorElement/<>c__DisplayClass55_0:<CreateIMGUIInspectorFromEditor>b__0 ()
0x0000020F594D170C (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,bool)
0x0000020F594BEB1B (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool)
0x0000020FC370E7B3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x0000020FC370E273 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool)
0x0000020FEB277EF3 (Mono JIT Code) UnityEngine.UIElements.KeyboardEventDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000020FC0DFB94E (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000020FC0DF52C3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x0000020FC0DF4E2B (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x0000020FC25BDC13 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x0000020FC25BCFFB (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:ProcessEvent (int,intptr)
0x0000020FC25BC863 (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr)
0x0000020FC25BCAE3 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_bool_int_intptr (object,intptr,intptr,intptr)
0x00007FF90853CBD0 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FF9084C2142 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2921] do_runtime_invoke
0x00007FF9084CB13F (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\object.c:2968] mono_runtime_invoke
0x00007FF71CF5434E (Unity) scripting_method_invoke
0x00007FF71CF4E02D (Unity) ScriptingInvocation::Invoke
0x00007FF71CF4802A (Unity) ScriptingInvocation::Invoke<bool>
0x00007FF71A3518E5 (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007FF71AD48E74 (Unity) GUIView::ProcessRetainedMode
0x00007FF71B757316 (Unity) GUIView::OnInputEvent
0x00007FF71AD48D6C (Unity) GUIView::ProcessInputEvent
0x00007FF71B758D25 (Unity) GUIView::ProcessEventMessages
0x00007FF71B751E39 (Unity) GUIView::GUIViewWndProc
0x00007FF971A063ED (USER32) CallWindowProcW
0x00007FF971A05DE2 (USER32) DispatchMessageW
0x00007FF71B756466 (Unity) MainMessageLoop
0x00007FF71B75FF5A (Unity) WinMain
0x00007FF71E6C7042 (Unity) __scrt_common_main_seh
0x00007FF972597BD4 (KERNEL32) BaseThreadInitThunk
0x00007FF97398CED1 (ntdll) RtlUserThreadStart

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

Comments (1)

  1. 77c93f8de558bd9b1ca4442fc3db0991?d=mm

    kyuskoj

    Nov 28, 2019 06:37

    how can i get 2019.3.0f2 ?

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.