Skip to content

Editor crashes and Patch errors #17

@marwie

Description

@marwie

in 2020.3.1f1 when removing patch on MySlowScript.Update in ProfilerWindow via Context Menu

Log at end
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
(wrapper dynamic-method) UnityEngine.Debug:UnityEngine.Debug.Log_Patch0 (object)
(wrapper dynamic-method) MyNamespace.MySlowScript:MyNamespace.MySlowScript.Update_Patch0 (MyNamespace.MySlowScript)

Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) UnityEngine.RectOffset.Remove_Injected (UnityEngine.RectOffset,UnityEngine.Rect&,UnityEngine.Rect&) [0x00015] in <10564ed154d647e194bef4aef8878649>:0
  at (wrapper dynamic-method) UnityEngine.RectOffset.UnityEngine.RectOffset.Remove_Patch0 (UnityEngine.RectOffset,UnityEngine.Rect) [0x00013] in <10564ed154d647e194bef4aef8878649>:0
  at (wrapper dynamic-method) UnityEngine.SliderHandler.UnityEngine.SliderHandler.HorizontalThumbRect_Patch0 (UnityEngine.SliderHandler&) [0x00048] in <c44e24cb7b9d4e5096e65a3281e887f5>:0
  at (wrapper dynamic-method) UnityEngine.SliderHandler.UnityEngine.SliderHandler.ThumbRect_Patch0 (UnityEngine.SliderHandler&) [0x00033] in <c44e24cb7b9d4e5096e65a3281e887f5>:0
  at (wrapper dynamic-method) UnityEngine.SliderHandler.UnityEngine.SliderHandler.OnRepaint_Patch0 (UnityEngine.SliderHandler&) [0x000b9] in <c44e24cb7b9d4e5096e65a3281e887f5>:0
  at (wrapper dynamic-method) UnityEngine.SliderHandler.UnityEngine.SliderHandler.Handle_Patch0 (UnityEngine.SliderHandler&) [0x00083] in <c44e24cb7b9d4e5096e65a3281e887f5>:0
  at (wrapper dynamic-method) UnityEngine.GUI.UnityEngine.GUI.Slider_Patch0 (UnityEngine.Rect,single,single,single,single,UnityEngine.GUIStyle,UnityEngine.GUIStyle,bool,int,UnityEngine.GUIStyle) [0x00053] in <c44e24cb7b9d4e5096e65a3281e887f5>:0
  at UnityEngine.GUI.HorizontalSlider (UnityEngine.Rect,single,single,single,UnityEngine.GUIStyle,UnityEngine.GUIStyle) [0x00011] in <c44e24cb7b9d4e5096e65a3281e887f5>:0
  at UnityEngine.GUILayout.DoHorizontalSlider (single,single,single,UnityEngine.GUIStyle,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[]) [0x00019] in <c44e24cb7b9d4e5096e65a3281e887f5>:0
  at UnityEngine.GUILayout.HorizontalSlider (single,single,single,UnityEngine.GUILayoutOption[]) [0x00019] in <c44e24cb7b9d4e5096e65a3281e887f5>:0
  at UnityEditor.GameView.DoZoomSlider () [0x00069] in <0c3742f371b24679bcaa6fcc508d0cca>:0
  at UnityEditor.GameView.DoToolbarGUI () [0x00169] in <0c3742f371b24679bcaa6fcc508d0cca>:0
  at UnityEditor.GameView.OnGUI () [0x00041] in <0c3742f371b24679bcaa6fcc508d0cca>:0
  at UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect) [0x00066] in <0c3742f371b24679bcaa6fcc508d0cca>:0
  at UnityEditor.DockArea.DrawView (UnityEngine.Rect,UnityEngine.Rect) [0x00004] in <0c3742f371b24679bcaa6fcc508d0cca>:0
  at UnityEditor.DockArea.OldOnGUI () [0x0019d] in <0c3742f371b24679bcaa6fcc508d0cca>:0
  at UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool) [0x001e1] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool) [0x000c8] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () [0x0005a] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,single,System.Exception&) [0x000c1] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.UIElements.UIR.UIRenderDevice.EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Material,UnityEngine.Material,UnityEngine.Texture,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeSlice`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeSlice`1<UnityEngine.Vector4>,UnityEngine.MaterialPropertyBlock,bool,System.Exception&) [0x00536] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.UIElements.UIR.RenderChain.Render () [0x0011f] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.UIElements.UIRRepaintUpdater.Update () [0x0006c] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase) [0x0001f] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.UIElements.Panel.UpdateForRepaint () [0x0003c] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event) [0x00099] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel) [0x00029] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&) [0x0003f] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.UIElements.UIEventRegistration.ProcessEvent (int,intptr) [0x0001f] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.UIElements.UIEventRegistration/<>c.<.cctor>b__1_2 (int,intptr) [0x00003] in <1cdf5c2cc10149169242b9590b7ebb6b>:0
  at UnityEngine.GUIUtility.ProcessEvent (int,intptr,bool&) [0x00018] in <c44e24cb7b9d4e5096e65a3281e887f5>:0
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr) [0x0002d] in <c44e24cb7b9d4e5096e65a3281e887f5>:0

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Received signal SIGSEGV
Stack trace:
0x000001a292aa11c7 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.RectOffset:Remove_Injected (UnityEngine.RectOffset,UnityEngine.Rect&,UnityEngine.Rect&)
0x000001a2c014f663 (Mono JIT Code) (wrapper dynamic-method) UnityEngine.RectOffset:UnityEngine.RectOffset.Remove_Patch0 (UnityEngine.RectOffset,UnityEngine.Rect)
0x000001a2c033034b (Mono JIT Code) (wrapper dynamic-method) UnityEngine.SliderHandler:UnityEngine.SliderHandler.HorizontalThumbRect_Patch0 (UnityEngine.SliderHandler&)
0x000001a2c0148b2b (Mono JIT Code) (wrapper dynamic-method) UnityEngine.SliderHandler:UnityEngine.SliderHandler.ThumbRect_Patch0 (UnityEngine.SliderHandler&)
0x000001a2c01462b3 (Mono JIT Code) (wrapper dynamic-method) UnityEngine.SliderHandler:UnityEngine.SliderHandler.OnRepaint_Patch0 (UnityEngine.SliderHandler&)
0x000001a2c032c7ab (Mono JIT Code) (wrapper dynamic-method) UnityEngine.SliderHandler:UnityEngine.SliderHandler.Handle_Patch0 (UnityEngine.SliderHandler&)
0x000001a2c032b08b (Mono JIT Code) (wrapper dynamic-method) UnityEngine.GUI:UnityEngine.GUI.Slider_Patch0 (UnityEngine.Rect,single,single,single,single,UnityEngine.GUIStyle,UnityEngine.GUIStyle,bool,int,UnityEngine.GUIStyle)
0x000001a2928e9c8b (Mono JIT Code) UnityEngine.GUI:HorizontalSlider (UnityEngine.Rect,single,single,single,UnityEngine.GUIStyle,UnityEngine.GUIStyle)
0x000001a2928e9a4b (Mono JIT Code) UnityEngine.GUILayout:DoHorizontalSlider (single,single,single,UnityEngine.GUIStyle,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])
0x000001a2928e978b (Mono JIT Code) UnityEngine.GUILayout:HorizontalSlider (single,single,single,UnityEngine.GUILayoutOption[])
0x000001a2928e4db3 (Mono JIT Code) UnityEditor.GameView:DoZoomSlider ()
0x000001a2928d6273 (Mono JIT Code) UnityEditor.GameView:DoToolbarGUI ()
0x000001a2928d0593 (Mono JIT Code) UnityEditor.GameView:OnGUI ()
0x000001a2928cbda4 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect)
0x000001a2928cb733 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect,UnityEngine.Rect)
0x000001a2928ada6b (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x000001a22c7a4e82 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x000001a22c7a27b3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x000001a2929e5033 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint ()
0x000001a2929e099e (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,single,System.Exception&)
0x000001a2929dd12b (Mono JIT Code) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Material,UnityEngine.Material,UnityEngine.Texture,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeSlice`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeSlice`1<UnityEngine.Vector4>,UnityEngine.MaterialPropertyBlock,bool,System.Exception&)
0x000001a2929d0feb (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChain:Render ()
0x000001a29299c26b (Mono JIT Code) UnityEngine.UIElements.UIRRepaintUpdater:Update ()
0x000001a22c713c2a (Mono JIT Code) UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase)
0x000001a29299a5b3 (Mono JIT Code) UnityEngine.UIElements.Panel:UpdateForRepaint ()
0x000001a2929999a3 (Mono JIT Code) UnityEngine.UIElements.Panel:Repaint (UnityEngine.Event)
0x000001a22c7128a1 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x000001a22c712243 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x000001a22c711c2f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x000001a22c71193b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x000001a22c711435 (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x000001a22c711656 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffc9b1ce480 (mono-2.0-bdwgc) [mini-runtime.c:2812] mono_jit_runtime_invoke 
0x00007ffc9b152902 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke 
0x00007ffc9b15b95f (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke 
0x00007ff6c5fcaa34 (Unity) scripting_method_invoke
0x00007ff6c5fc33b5 (Unity) ScriptingInvocation::Invoke
0x00007ff6c5fbc2b5 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff6c4686e6d (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff6c6be7826 (Unity) GUIView::ProcessRetainedMode
0x00007ff6c766bf5e (Unity) GUIView::OnInputEvent
0x00007ff6c6be7718 (Unity) GUIView::ProcessInputEvent
0x00007ff6c7662e12 (Unity) GUIView::DoPaint
0x00007ff6c766ef3d (Unity) GUIView::RepaintAll
0x00007ff6c6ccdb81 (Unity) PlayerLoopController::UpdateScene
0x00007ff6c6ccb626 (Unity) Application::TickTimer

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions