Search Unity

In 2019, I get an error when I go from one scene to another. I did not get this in 2018

Discussion in 'Editor & General Support' started by AcademyOfFetishes, May 3, 2019.

  1. AcademyOfFetishes

    AcademyOfFetishes

    Joined:
    Nov 16, 2018
    Posts:
    219
    I get this error I've never seen before when I go from one scene to another in 2019:

    Code (CSharp):
    1. SerializedObject target has been destroyed.
    2. 0x00007FF6B1D493CC (Unity) StackWalker::GetCurrentCallstack
    3. 0x00007FF6B1D4C881 (Unity) StackWalker::ShowCallstack
    4. 0x00007FF6B04B8695 (Unity) GetStacktrace
    5. 0x00007FF6B2766C60 (Unity) DebugStringToFile
    6. 0x00007FF6B00473B3 (Unity) SerializedObject::ValidateObjectReferences
    7. 0x00007FF6B0045FCE (Unity) SerializedObject::Update
    8. 0x00007FF6B0D7801E (Unity) SerializedObject_CUSTOM_Update
    9. 0x0000026DAA04F293 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.SerializedObject:Update (UnityEditor.SerializedObject)
    10. 0x0000026DAA0C6BE3 (Mono JIT Code) [LightingSettingsInspector.cs:162] UnityEditor.LightingSettingsInspector:RenderMeshSettings (bool)
    11. 0x0000026DAA0B8353 (Mono JIT Code) [MeshRendererEditor.cs:58] UnityEditor.MeshRendererEditor:LightingFieldsGUI ()
    12. 0x0000026DAA0B316B (Mono JIT Code) [MeshRendererEditor.cs:96] UnityEditor.MeshRendererEditor:OnInspectorGUI ()
    13. 0x0000026DAA085838 (Mono JIT Code) [InspectorElement.cs:446] UnityEditor.UIElements.InspectorElement/<CreateIMGUIInspectorFromEditor>c__AnonStorey1:<>m__0 ()
    14. 0x0000026DA5AD4A31 (Mono JIT Code) [IMGUIContainer.cs:278] UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect)
    15. 0x0000026DA5AD2813 (Mono JIT Code) [IMGUIContainer.cs:480] UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect)
    16. 0x0000026DA9D98583 (Mono JIT Code) [IMGUIContainer.cs:455] UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent ()
    17. 0x0000026DA9D97A12 (Mono JIT Code) [UIRenderers.cs:447] UnityEngine.UIElements.UIR.ImmediateRenderer:Draw (UnityEngine.UIElements.UIR.DrawChainState)
    18. 0x0000026DA9D96580 (Mono JIT Code) [UIRenderDevice.cs:842] UnityEngine.UIElements.UIR.UIRenderDevice:ContinueChain (UnityEngine.UIElements.UIR.RendererBase,UnityEngine.UIElements.UIR.DrawChainState,bool)
    19. 0x0000026DAF713BEB (Mono JIT Code) [UIRenderers.cs:420] UnityEngine.UIElements.UIR.ZoomPanRenderer:Draw (UnityEngine.UIElements.UIR.DrawChainState)
    20. 0x0000026DA9D96580 (Mono JIT Code) [UIRenderDevice.cs:842] UnityEngine.UIElements.UIR.UIRenderDevice:ContinueChain (UnityEngine.UIElements.UIR.RendererBase,UnityEngine.UIElements.UIR.DrawChainState,bool)
    21. 0x0000026DA9D910DB (Mono JIT Code) [UIRenderDevice.cs:825] UnityEngine.UIElements.UIR.UIRenderDevice:DrawChain (UnityEngine.UIElements.UIR.RendererBase,UnityEngine.Rect,UnityEngine.Matrix4x4,UnityEngine.Texture)
    22. 0x0000026DA9D8C407 (Mono JIT Code) [UIRRepaintUpdater.cs:219] UnityEngine.UIElements.UIRRepaintUpdater:DrawChain (UnityEngine.Rect,UnityEngine.Matrix4x4)
    23. 0x0000026DA9D57B55 (Mono JIT Code) [UIRRepaintUpdater.cs:191] UnityEngine.UIElements.UIRRepaintUpdater:Update ()
    24. 0x0000026DA9D5508F (Mono JIT Code) [VisualTreeUpdater.cs:71] UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTree ()
    25. 0x0000026DA9D54B53 (Mono JIT Code) [Panel.cs:591] UnityEngine.UIElements.Panel:Repaint (UnityEngine.Event)
    26. 0x0000026DA5AA7AE3 (Mono JIT Code) [UIElementsUtility.cs:246] UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
    27. 0x0000026DA5AA762B (Mono JIT Code) [UIElementsUtility.cs:78] UnityEngine.UIElements.UIElementsUtility:ProcessEvent (int,intptr)
    28. 0x0000026DA5AA6F8E (Mono JIT Code) [GUIUtility.cs:179] UnityEngine.GUIUtility:ProcessEvent (int,intptr)
    29. 0x0000026DA5AA71B3 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_bool_int_intptr (object,intptr,intptr,intptr)
    30. 0x00007FFE395ABBCB (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
    31. 0x00007FFE39532252 (mono-2.0-bdwgc) [object.c:2919] do_runtime_invoke
    32. 0x00007FFE3953B25F (mono-2.0-bdwgc) [object.c:2966] mono_runtime_invoke
    33. 0x00007FF6B1CDB036 (Unity) scripting_method_invoke
    34. 0x00007FF6B1CD5335 (Unity) ScriptingInvocation::Invoke
    35. 0x00007FF6B1CD05AA (Unity) ScriptingInvocation::Invoke<bool>
    36. 0x00007FF6AF461C79 (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
    37. 0x00007FF6B03615EC (Unity) GUIView::ProcessRetainedMode
    38. 0x00007FF6B07C4B6D (Unity) GUIView::OnInputEvent
    39. 0x00007FF6B03614FC (Unity) GUIView::ProcessInputEvent
    40. 0x00007FF6B07BBC8C (Unity) GUIView::DoPaint
    41. 0x00007FF6B07C75AD (Unity) GUIView::RepaintAll
    42. 0x00007FF6B0506E52 (Unity) PlayerLoopController::UpdateScene
    43. 0x00007FF6B0503CA9 (Unity) Application::TickTimer
    44. 0x00007FF6B07C3943 (Unity) MainMessageLoop
    45. 0x00007FF6B07CD347 (Unity) WinMain
    46. 0x00007FF6B30FDD8E (Unity) __scrt_common_main_seh
    47. 0x00007FFE65F24034 (KERNEL32) BaseThreadInitThunk
    48. 0x00007FFE666E3691 (ntdll) RtlUserThreadStart
    How do I troubleshoot this? None of the stack trace references my code
     
  2. AcademyOfFetishes

    AcademyOfFetishes

    Joined:
    Nov 16, 2018
    Posts:
    219
    I upgraded from the previous unity 2019 to the latest 2019 and deleted my Library directory, and this error went away.

    Still, it would be SUPER useful if someone from unity would chime in. I'm getting a lot of stack traces like this in 2019 that give me no ability to troubleshoot errors. I'm sure there's a problem in this here with one of MY game objects, but the error doesn't let me know which.