Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

2020.2.0b2 PlayMode Crash

Discussion in '2020.2 Beta' started by Lynxed, Sep 12, 2020.

  1. Lynxed

    Lynxed

    Joined:
    Dec 9, 2012
    Posts:
    121
    On entering playmode i have a crash. I've cleared the Library and reimported the whole project.
    Here is an Editor.log ending:

    It looks like something with UI?
    I'm on Windows 7.

    Code (CSharp):
    1.  
    2. Stacktrace:
    3.  
    4.   at <unknown> <0xffffffff>
    5.   at (wrapper managed-to-native) UnityEditor.EditorGUIUtility.RenderPlayModeViewCamerasInternal_Injected (UnityEngine.RenderTexture,int,UnityEngine.Vector2&,bool,bool) [0x0000c] in <3d7c86b365634083bceadac5c7f36490>:0
    6.   at UnityEditor.EditorGUIUtility.RenderPlayModeViewCamerasInternal (UnityEngine.RenderTexture,int,UnityEngine.Vector2,bool,bool) [0x00007] in <3d7c86b365634083bceadac5c7f36490>:0
    7.   at UnityEditor.PlayModeView.RenderView (UnityEngine.Vector2,bool) [0x000ea] in <3d7c86b365634083bceadac5c7f36490>:0
    8.   at UnityEditor.GameView.OnGUI () [0x002ee] in <3d7c86b365634083bceadac5c7f36490>:0
    9.   at UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect) [0x00066] in <3d7c86b365634083bceadac5c7f36490>:0
    10.   at UnityEditor.DockArea.DrawView (UnityEngine.Rect,UnityEngine.Rect) [0x00004] in <3d7c86b365634083bceadac5c7f36490>:0
    11.   at UnityEditor.DockArea.OldOnGUI () [0x0019d] in <3d7c86b365634083bceadac5c7f36490>:0
    12.   at UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool) [0x001e1] in <25b3b10f7ceb493e97ab16f983c3ca81>:0
    13.   at UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool) [0x000c8] in <25b3b10f7ceb493e97ab16f983c3ca81>:0
    14.   at UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () [0x0005a] in <25b3b10f7ceb493e97ab16f983c3ca81>:0
    15.   at UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,single,System.Exception&) [0x000c1] in <25b3b10f7ceb493e97ab16f983c3ca81>:0
    16.   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 <25b3b10f7ceb493e97ab16f983c3ca81>:0
    17.   at UnityEngine.UIElements.UIR.RenderChain.Render () [0x0011f] in <25b3b10f7ceb493e97ab16f983c3ca81>:0
    18.   at UnityEngine.UIElements.UIRRepaintUpdater.Update () [0x0006c] in <25b3b10f7ceb493e97ab16f983c3ca81>:0
    19.   at UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase) [0x0001f] in <25b3b10f7ceb493e97ab16f983c3ca81>:0
    20.   at UnityEngine.UIElements.Panel.UpdateForRepaint () [0x0003c] in <25b3b10f7ceb493e97ab16f983c3ca81>:0
    21.   at UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event) [0x00099] in <25b3b10f7ceb493e97ab16f983c3ca81>:0
    22.   at UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel) [0x00029] in <25b3b10f7ceb493e97ab16f983c3ca81>:0
    23.   at UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&) [0x0003f] in <25b3b10f7ceb493e97ab16f983c3ca81>:0
    24.   at UnityEngine.UIElements.UIEventRegistration.ProcessEvent (int,intptr) [0x0001f] in <25b3b10f7ceb493e97ab16f983c3ca81>:0
    25.   at UnityEngine.UIElements.UIEventRegistration/<>c.<.cctor>b__1_2 (int,intptr) [0x00003] in <25b3b10f7ceb493e97ab16f983c3ca81>:0
    26.   at UnityEngine.GUIUtility.ProcessEvent (int,intptr,bool&) [0x00018] in <9a1610f7e6984ff59a34a8a8f357fe59>:0
    27.   at (wrapper runtime-invoke) <Module>.runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr) [0x0002d] in <9a1610f7e6984ff59a34a8a8f357fe59>:0
    28.  
    29. =================================================================
    30. Got a SIGSEGV while executing native code. This usually indicates
    31. a fatal error in the mono runtime or one of the native libraries
    32. used by your application.
    33. =================================================================
    34.  
    35. Received signal SIGSEGV
    36. Stack trace:
    37. 0x000000014329d638 (Unity) ParticleSystemGeometryJob::ScheduleJobs
    38. 0x0000000140334d34 (Unity) DispatchGeometryJobs
    39. 0x0000000140305de6 (Unity) Camera::CustomRender
    40. 0x00000001403149e2 (Unity) RenderManager::RenderCameras
    41. 0x0000000141b83d62 (Unity) RepaintController::RenderPlayModeViewCameras
    42. 0x00000001424fb01e (Unity) EditorGUIUtility::RenderPlayModeViewCamerasInternal
    43. 0x0000000142d1fa89 (Unity) EditorGUIUtility_CUSTOM_RenderPlayModeViewCamerasInternal_Injected
    44. 0x000000012054e077 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal_Injected (UnityEngine.RenderTexture,int,UnityEngine.Vector2&,bool,bool)
    45. 0x000000012054df93 (Mono JIT Code) UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal (UnityEngine.RenderTexture,int,UnityEngine.Vector2,bool,bool)
    46. 0x000000012054d403 (Mono JIT Code) UnityEditor.PlayModeView:RenderView (UnityEngine.Vector2,bool)
    47. 0x00000000768fbfe3 (Mono JIT Code) UnityEditor.GameView:OnGUI ()
    48. 0x00000000768f8efb (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect)
    49. 0x00000000768f8cb3 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect,UnityEngine.Rect)
    50. 0x00000000768ec133 (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
    51. 0x00000000768d5600 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
    52. 0x00000000768d48db (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
    53. 0x00000000781e50a3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint ()
    54. 0x00000000781e26bb (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,single,System.Exception&)
    55. 0x00000000781e0dcb (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&)
    56. 0x0000000077f6ce6b (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChain:Render ()
    57. 0x0000000077f3b8a3 (Mono JIT Code) UnityEngine.UIElements.UIRRepaintUpdater:Update ()
    58. 0x000000007682431e (Mono JIT Code) UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase)
    59. 0x0000000077f3b07b (Mono JIT Code) UnityEngine.UIElements.Panel:UpdateForRepaint ()
    60. 0x0000000077f3ace3 (Mono JIT Code) UnityEngine.UIElements.Panel:Repaint (UnityEngine.Event)
    61. 0x0000000076823c1a (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
    62. 0x0000000076823983 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
    63. 0x000000007682378f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
    64. 0x00000000768236cb (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
    65. 0x0000000076823523 (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    66. 0x00000000768235de (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
    67. 0x000007fecd56de40 (mono-2.0-bdwgc) [mini-runtime.c:2812] mono_jit_runtime_invoke
    68. 0x000007fecd4f28e2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
    69. 0x000007fecd4fb93f (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
    70. 0x000000014106f5d4 (Unity) scripting_method_invoke
    71. 0x0000000141067de5 (Unity) ScriptingInvocation::Invoke
    72. 0x0000000141060f05 (Unity) ScriptingInvocation::Invoke<void>
    73. 0x000000013f73d52d (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
    74. 0x0000000141c85a86 (Unity) GUIView::ProcessRetainedMode
    75. 0x00000001426e7c95 (Unity) GUIView::OnInputEvent
    76. 0x0000000141c859bd (Unity) GUIView::ProcessInputEventInternal
    77. 0x00000001426deb15 (Unity) GUIView::DoPaint
    78. 0x00000001426eac7d (Unity) GUIView::RepaintAll
    79. 0x0000000141d66b31 (Unity) PlayerLoopController::UpdateScene
    80. 0x0000000141d64627 (Unity) Application::TickTimer
    81. 0x00000001426af4af (Unity) MainMessageLoop
    82. 0x00000001426b3411 (Unity) WinMain
    83. 0x0000000144499f26 (Unity) __scrt_common_main_seh
    84. 0x0000000076c7556d (kernel32) BaseThreadInitThunk
    85. 0x0000000076ed372d (ntdll) RtlUserThreadStart
    86.  
     
    b4gn0 likes this.
  2. elJoel

    elJoel

    Joined:
    Sep 7, 2016
    Posts:
    125
    Getting the same error:

    Code (CSharp):
    1. 0x000001B8AC369313 (UnityEngine.CoreModule) UnityEngine.Rendering.ScriptableRenderContext.Internal_Cull_Injected()
    2. 0x000001B8AC369243 (UnityEngine.CoreModule) UnityEngine.Rendering.ScriptableRenderContext.Internal_Cull()
    3. 0x000001B8AC36918B (UnityEngine.CoreModule) UnityEngine.Rendering.ScriptableRenderContext.Cull()
    4. 0x000001B8AC3671C3 (Unity.RenderPipelines.Universal.Runtime) UnityEngine.Rendering.Universal.UniversalRenderPipeline.RenderSingleCamera()
    5. 0x000001B8AC35A133 (Unity.RenderPipelines.Universal.Runtime) UnityEngine.Rendering.Universal.UniversalRenderPipeline.RenderCameraStack()
    6. 0x000001B8AC35672B (Unity.RenderPipelines.Universal.Runtime) UnityEngine.Rendering.Universal.UniversalRenderPipeline.Render()
    7. 0x000001B8AC356539 (UnityEngine.CoreModule) UnityEngine.Rendering.RenderPipeline.InternalRender()
    8. 0x000001B8AC346C0B (UnityEngine.CoreModule) UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal()
    9. 0x000001B8AC346E70 (UnityEngine.CoreModule) <Module>.runtime_invoke_void_object_intptr_object_AtomicSafetyHandle()
    10. 0x00007FFA6025DE40 (mono-2.0-bdwgc) mono_get_runtime_build_info
    11. 0x00007FFA601E28E2 (mono-2.0-bdwgc) mono_perfcounters_init
    12. 0x00007FFA601EB93F (mono-2.0-bdwgc) mono_runtime_invoke
    13. ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF6ADAFF5D4)
    14. 0x00007FF6ADAFF5D4 (Unity) (function-name not available)
    15. ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF6ADAF7DE5)
    16. 0x00007FF6ADAF7DE5 (Unity) (function-name not available)
    17. ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF6AD2889DD)
    18. 0x00007FF6AD2889DD (Unity) (function-name not available)
    19. ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF6ACDA4DEF)
    20. 0x00007FF6ACDA4DEF (Unity) (function-name not available)
    21. ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF6ACDA4506)
    22. 0x00007FF6ACDA4506 (Unity) (function-name not available)
    23. ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF6AE613D62)
    24. 0x00007FF6AE613D62 (Unity) (function-name not available)
    25. ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF6AEF8B01E)
    26. 0x00007FF6AEF8B01E (Unity) (function-name not available)
    27. ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF6AF7AFA89)
    28. 0x00007FF6AF7AFA89 (Unity) (function-name not available)
    29. 0x000001B8AC345517 (UnityEditor.CoreModule) UnityEditor.EditorGUIUtility.RenderPlayModeViewCamerasInternal_Injected()
    30. 0x000001B8AC345433 (UnityEditor.CoreModule) UnityEditor.EditorGUIUtility.RenderPlayModeViewCamerasInternal()
    31. 0x000001B8AC343F53 (UnityEditor.CoreModule) UnityEditor.PlayModeView.RenderView()
    32. 0x000001B83365DB9B (UnityEditor.CoreModule) UnityEditor.GameView.OnGUI()
    33. 0x000001B83365A793 (UnityEditor.CoreModule) UnityEditor.HostView.InvokeOnGUI()
    34. 0x000001B8AC4D2663 (UnityEditor.CoreModule) UnityEditor.MaximizedHostView.OldOnGUI()
    35. 0x000001B831FA1B00 (UnityEngine.UIElementsModule) UnityEngine.UIElements.IMGUIContainer.DoOnGUI()
    36. 0x000001B831FA0DCB (UnityEngine.UIElementsModule) UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent()
    37. 0x000001B8AC25C213 (UnityEngine.UIElementsModule) UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint()
    38. 0x000001B8AC2595CB (UnityEngine.UIElementsModule) UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh()
    39. 0x000001B8AC25782B (UnityEngine.UIElementsModule) UnityEngine.UIElements.UIR.UIRenderDevice.EvaluateChain()
    40. 0x000001B8AC2539B3 (UnityEngine.UIElementsModule) UnityEngine.UIElements.UIR.RenderChain.Render()
    41. 0x000001B8AC240E63 (UnityEngine.UIElementsModule) UnityEngine.UIElements.UIRRepaintUpdater.Update()
    42. 0x000001B831F0ECFE (UnityEngine.UIElementsModule) UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase()
    43. 0x000001B8AC24062B (UnityEngine.UIElementsModule) UnityEngine.UIElements.Panel.UpdateForRepaint()
    44. 0x000001B8AC240223 (UnityEngine.UIElementsModule) UnityEngine.UIElements.Panel.Repaint()
    45. 0x000001B831F0E5C7 (UnityEngine.UIElementsModule) UnityEngine.UIElements.UIElementsUtility.DoDispatch()
    46. 0x000001B831F0E31B (UnityEngine.UIElementsModule) UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent()
    47. 0x000001B831F0E11F (UnityEngine.UIElementsModule) UnityEngine.UIElements.UIEventRegistration.ProcessEvent()
    48. 0x000001B831F0E05B (UnityEngine.UIElementsModule) <>c.<.cctor>b__1_2()
    49. 0x000001B831F0DEBD (UnityEngine.IMGUIModule) UnityEngine.GUIUtility.ProcessEvent()
    50. 0x000001B831F0DF6E (UnityEngine.IMGUIModule) <Module>.runtime_invoke_void_int_intptr_intptr&()
     
    b4gn0 likes this.
  3. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,011
    Same here. On the top of NativeCallstack, ParticleSystemGeometryJob::ScheduleJobs throws error.
     
    b4gn0 likes this.
  4. b4gn0

    b4gn0

    Joined:
    Jul 26, 2019
    Posts:
    119
    Same here, had to revert to b1 as the editor is now unusable.
     
  5. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Hi everybody,

    I've forwarded the thread to the devs. In the meantime, it would be very helpful and increase the chances of getting a timely fix if you could submit a bug report with a reproducible attached to it.
     
  6. b4gn0

    b4gn0

    Joined:
    Jul 26, 2019
    Posts:
    119
    Unfortunately I couldn't create a simple repro case.
    I noticed it happens when creating / editing the scene during play (creating gameobjects), while having the camera on.
    If I turn off the camera, create all the scene (it's procedurally generated) and then turn it on AFTER it has been all instantiated, the problem doesn't arise.

    I have attached 3 different editor crashes all ending with "ScriptableRenderContext.Internal_Cull_Injected", seemingly caused by different stuff that calls "context.Cull".

    The issue is not present with 2020.2.0b1.
     

    Attached Files:

    LeonhardP likes this.
  7. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Even if you don't have a reproduction project at hand, it would still be helpful if you could submit a report for it after the next time the crash occurs. That will ensure that it's in our system.
     
  8. drallcom3

    drallcom3

    Joined:
    Feb 12, 2017
    Posts:
    165
    I think I'm getting a very similar crash when opening certain prefabs. Same entries in the log. It's why I had to go back to 2020.2.0b1.

    Case 1278488
     
    LeonhardP likes this.
  9. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,334
    I keep sending crashes with specifically "this happened at random, it's not a repeating issue, I don't have reproduction steps, but Unity people told us to send in crash reports". Then I get emails back with "what are the repro steps?". When I explain to them that there's no repro steps like I said in my bug report, I get "Well, sorry, we have to close this then".

    So I've kinda stopped sending the crash reports you're asking for because they lead to me having to waste a bunch of time emailing with your QA team. Any possibility you could make them aware of the fact that you're asking us to send crash reports even if we can't reproduce them, or some kind of way we can indicate in the bug report that "I am totally aware that you can't outright fix this, I'm just sending this so it's in your system, please don't nag me for repro steps"
     
  10. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Thanks for the feedback. I've passed it on.
     
    MadeFromPolygons and Baste like this.
  11. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    We were able to reproduce this crash and the devs will look into it. Thanks a lot for your report!

    https://issuetracker.unity3d.com/product/unity/issues/guid/1278488/ (link will take a couple of hours to start working)
     
    Kichang-Kim and MadeFromPolygons like this.
  12. olavrv

    olavrv

    Joined:
    May 26, 2015
    Posts:
    515
    Editor crashes on play in empty scene in 2020.0b2, upgraded project (from 2020.1).

    Also unable to make IL2CPP build in 2020.0b2
     
  13. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    olavrv likes this.
  14. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    If it also crashes in b1, it's probably a different issue. In that case it would be great if you could submit a bug report for this issues.

    For the build issue, there's not enough information here to act on. Recommended action would be again to submit a bug report for it.
     
  15. juliano09

    juliano09

    Joined:
    Jun 14, 2018
    Posts:
    4
    Application.ExecuteMenuItem is taking too long for me at 2020.3f, every time I hit "Save" or when I click the "Shader Selection Window" the editor stops for ~3 minutes.
     
    olavrv likes this.