Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2018.3.0a8
Issue ID
1069485
Regression
Yes
[Physics2D] [Collider2D] Editor crashes when disabling a Collider2D
[Physics2D] [Collider2D] Editor crashes when disabling a Collider2D
1. What happened
Editor crashes when disabling a Collider2D
2. How we can reproduce it using the example you attached
- create an empty Game Object
- add a Collider2D to the Game Object (e.g. Circle Collider2D)
- try to disable the the Collider 2D by clicking on the checkbox in the Inspector window
The editor crashes.
Note: Does not occur with 2018.2.3f1
========== OUTPUTTING STACK TRACE ==================
0x0000000141C02FBB (Unity) Collider2D::Cleanup
0x0000000141C0108E (Unity) Collider2D::AwakeFromLoad
0x0000000140EABADB (Unity) SerializedObject::ApplyModifiedPropertiesWithoutUndo
0x000000014236F5CE (Unity) SerializedObject_CUSTOM_ApplyModifiedProperties
0x000000003AD54CB3 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.SerializedObject:ApplyModifiedProperties (UnityEditor.SerializedObject)
0x000000003AD5B8F3 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\EditorGUI.cs:4726] UnityEditor.EditorGUI:DoInspectorTitlebar (UnityEngine.Rect,int,bool,UnityEngine.Object[],UnityEditor.SerializedProperty,UnityEngine.GUIStyle)
0x000000003AD59A7B (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\EditorGUI.cs:4661] UnityEditor.EditorGUI:InspectorTitlebar (UnityEngine.Rect,bool,UnityEditor.Editor)
0x000000003AD596BB (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\EditorGUI.cs:8714] UnityEditor.EditorGUILayout:InspectorTitlebar (bool,UnityEditor.Editor)
0x000000003AD59013 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:1544] UnityEditor.InspectorWindow:DrawEditorSmallHeader (UnityEditor.Editor[],int,UnityEngine.Object,UnityEditor.Editor,bool)
0x000000003843DB33 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:1494] UnityEditor.InspectorWindow:DrawEditorHeader (UnityEditor.Editor[],int,bool&,UnityEngine.Rect&,UnityEditor.Editor,UnityEngine.Object,bool&)
0x000000003843BF63 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:1427] UnityEditor.InspectorWindow:DrawEditor (UnityEditor.Editor[],int,bool,bool&,UnityEngine.Rect&)
0x00000000149D0BD3 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:1305] UnityEditor.InspectorWindow:DrawEditors (UnityEditor.Editor[])
0x00000000149B66C3 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\Inspector\InspectorWindow.cs:642] UnityEditor.InspectorWindow:OnGUI ()
0x0000000035C4F990 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFAD2E3BBEB (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FFAD2DC1CE2 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:2919] do_runtime_invoke
0x00007FFAD2DCAEC2 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:3071] mono_runtime_invoke_checked
0x00007FFAD2DCB659 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:5262] mono_runtime_try_invoke_array
0x00007FFAD2DCAE56 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:5140] mono_runtime_invoke_array_checked
0x00007FFAD2D6FDD4 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\icall.c:3357] ves_icall_InternalInvoke
0x000000003AD3F0F6 (Mono JIT Code) (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
0x000000003AD3D6FB (Mono JIT Code) System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
0x0000000035A899BF (Mono JIT Code) System.Reflection.MethodBase:Invoke (object,object[])
0x00000000384C1593 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\HostView.cs:335] UnityEditor.HostView:Invoke (string,object)
0x00000000384C13F3 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\HostView.cs:330] UnityEditor.HostView:Invoke (string)
0x000000003A36BC23 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\HostView.cs:296] UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect)
0x000000003A36B093 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:361] UnityEditor.DockArea:DrawView (UnityEngine.Rect,UnityEngine.Rect,bool,bool,bool)
0x000000003932709B (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:320] UnityEditor.DockArea:OldOnGUI ()
0x000000003930346C (Mono JIT Code) [C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:244] UnityEngine.Experimental.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool)
0x000000003930181B (Mono JIT Code) [C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:440] UnityEngine.Experimental.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect)
0x000000000CE0C953 (Mono JIT Code) [C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:421] UnityEngine.Experimental.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event)
0x00000000384B7ACB (Mono JIT Code) [C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:401] UnityEngine.Experimental.UIElements.IMGUIContainer:HandleEvent (UnityEngine.Experimental.UIElements.EventBase)
0x00000000384915D4 (Mono JIT Code) [C:\buildslave\unity\build\Modules\UIElements\EventDispatcher.cs:476] UnityEngine.Experimental.UIElements.EventDispatcher:ProcessEvent (UnityEngine.Experimental.UIElements.EventBase,UnityEngine.Experimental.UIElements.IPanel)
0x000000003848D64B (Mono JIT Code) [C:\buildslave\unity\build\Modules\UIElements\EventDispatcher.cs:283] UnityEngine.Experimental.UIElements.EventDispatcher:Dispatch (UnityEngine.Experimental.UIElements.EventBase,UnityEngine.Experimental.UIElements.IPanel,UnityEngine.Experimental.UIElements.DispatchMode)
0x000000003848D073 (Mono JIT Code) [C:\buildslave\unity\build\Modules\UIElements\Panel.cs:177] UnityEngine.Experimental.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.Experimental.UIElements.EventBase,UnityEngine.Experimental.UIElements.DispatchMode)
0x000000003924DFB3 (Mono JIT Code) [C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:248] UnityEngine.Experimental.UIElements.UIElementsUtility:DoDispatch (UnityEngine.Experimental.UIElements.BaseVisualElementPanel)
0x000000003924D71B (Mono JIT Code) [C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:68] UnityEngine.Experimental.UIElements.UIElementsUtility:ProcessEvent (int,intptr)
0x000000003924D084 (Mono JIT Code) [C:\buildslave\unity\build\Modules\IMGUI\GUIUtility.cs:179] UnityEngine.GUIUtility:ProcessEvent (int,intptr)
0x000000003924D2A3 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_bool_int_intptr (object,intptr,intptr,intptr)
0x00007FFAD2E3BBEB (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FFAD2DC1CE2 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:2919] do_runtime_invoke
0x00007FFAD2DCACEF (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:2966] mono_runtime_invoke
0x0000000140BE325A (Unity) scripting_method_invoke
0x0000000140BD997A (Unity) ScriptingInvocation::Invoke
0x0000000140BD124A (Unity) ScriptingInvocation::Invoke<bool>
0x0000000140424D4C (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x000000014125C312 (Unity) GUIView::ProcessRetainedMode
0x000000014144E81C (Unity) GUIView::OnInputEvent
0x000000014125C22C (Unity) GUIView::ProcessInputEvent
0x000000014144FDA4 (Unity) GUIView::ProcessEventMessages
0x0000000141448EB2 (Unity) GUIView::GUIViewWndProc
0x00007FFB0B9724FD (USER32) DispatchMessageW
0x00007FFB0B972357 (USER32) NotifyWinEvent
0x0000000141468D6F (Unity) MainMessageLoop
0x000000014146ADEE (Unity) WinMain
0x00000001424706DA (Unity) __scrt_common_main_seh
0x00007FFB0B5213D2 (KERNEL32) BaseThreadInitThunk
0x00007FFB0D2654F4 (ntdll) RtlUserThreadStart
========== END OF STACKTRACE ===========
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- XR Ray Interactor Cone Cast doesn't match Gizmo in Scene View when Cone Cast Angle is higher than 10 degrees
- [XR] LODs switch between high and low poly when Objects are near the center of the screen and switch when near the periphery vision
- Crash when trying to force Shader to interpret 1/30 as a floating point operation
- Terrain is flickering when adjusting "Compatibility Mode" and "Use Rendering Layers" Settings
- Isometric tiles are flickering and overlapping each other when entering Play Mode with Tilemap Renderer mode set to "Chunk"
Add comment