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

Bug Editor crash when generating lighting

Discussion in '2019.3 Beta' started by alexishcf, Jan 19, 2020.

  1. alexishcf

    alexishcf

    Joined:
    Sep 2, 2018
    Posts:
    9
    Hello,

    I've recently updated my project to 2019.3.0f5 and since then I'm unable to bake lighting on any of my scenes. I am using URP/LWRP.

    It happens with any baking configuration (Enlighten, Progressive CPU/GPU) - when I click "Generate lighting", it starts doing it and I can see some of the objects being baked, and then, the crash window appears...

    Editor log

    [PathTracer] Failed to render lightmap with hash: e9a50d50c1e9541916badb55df94f978 -> scheduledDirect: 0rpt, scheduledGI: 0rpt, scheduledEnv: 0rpt
    [PathTracer] Failed to render lightmap with hash: dcc0ce33e6f21924ad926042beac74b5 -> scheduledDirect: 0rpt, scheduledGI: 0rpt, scheduledEnv: 0rpt
    A crash has been intercepted by the crash handler. For call stack and other details, see the latest crash report generated in:
    * C:/Users/..../AppData/Local/Temp/Unity/Editor/Crashes
    Crash!!!

    Anyone else experiencing this issue?


     
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Would you be able to submit a bug report for this issue, ideally with a small reproduction project?
     
  3. alexishcf

    alexishcf

    Joined:
    Sep 2, 2018
    Posts:
    9
    Done (case 1213203)
     
    LeonhardP likes this.
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Could you try and delete your GI cache? That might solve those crashes for you.
     
  5. alexishcf

    alexishcf

    Joined:
    Sep 2, 2018
    Posts:
    9
    Deleted the GI cache but still having the issue
     
  6. WkrsnF

    WkrsnF

    Joined:
    Jul 5, 2017
    Posts:
    1
    I have the same issue with Unity 2019.3.3f1.
     
  7. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Could you please submit a bug report with your project or another reproducible attached? The reports we received so far were not reproducible on our side.
     
  8. Reshima

    Reshima

    Joined:
    Dec 10, 2012
    Posts:
    51
    I'm having a similar issue I reported the bug too.

    Also, here's a few info I got from the editor log:

    Code (CSharp):
    1. [PathTracer] Failed to render lightmap with hash: 49e887996b778c067703dd650881d5d3 -> scheduledDirect: 0rpt, scheduledGI: 0rpt, scheduledEnv: 0rpt
    2. [PathTracer] Failed to render lightmap with hash: ce4ed61dc6f1ac0f08ff41d6a718d3e8 -> scheduledDirect: 0rpt, scheduledGI: 0rpt, scheduledEnv: 0rpt
    3. [PathTracer] Failed to render lightmap with hash: f382cf8c7d3a0e158fb2bb22535ec70b -> scheduledDirect: 0rpt, scheduledGI: 0rpt, scheduledEnv: 0rpt
    4. [PathTracer] Failed to render lightmap with hash: c1bc9a7d1fbc561af1feaf3674d588a7 -> scheduledDirect: 0rpt, scheduledGI: 0rpt, scheduledEnv: 0rpt
    5. Stacktrace:
    6.  
    7.   at <unknown> <0xffffffff>
    8.   at (wrapper managed-to-native) UnityEditor.Handles.Internal_DrawCameraWithGrid (UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters&,bool) [0x0000a] in <3e481e8f36eb4d4c8d94b9ba6b2be438>:0
    9.   at UnityEditor.Handles.DrawCameraImpl (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,bool,UnityEditor.DrawGridParameters,bool,bool) [0x000cb] in <3e481e8f36eb4d4c8d94b9ba6b2be438>:0
    10.   at UnityEditor.Handles.DrawCameraStep1 (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters,bool) [0x00009] in <3e481e8f36eb4d4c8d94b9ba6b2be438>:0
    11.   at UnityEditor.SceneView.DoDrawCamera (UnityEngine.Rect,UnityEngine.Rect,bool&) [0x00171] in <3e481e8f36eb4d4c8d94b9ba6b2be438>:0
    12.   at UnityEditor.SceneView.OnGUI () [0x0019e] in <3e481e8f36eb4d4c8d94b9ba6b2be438>:0
    13.   at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) [0x0004f] in <437ba245d8404784b9fbab9b439ac908>:0
    14.   at <unknown> <0xffffffff>
    15.   at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) [0x00016] in <437ba245d8404784b9fbab9b439ac908>:0
    16.   at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x00038] in <437ba245d8404784b9fbab9b439ac908>:0
    17.   at System.Reflection.MethodBase.Invoke (object,object[]) [0x00006] in <437ba245d8404784b9fbab9b439ac908>:0
    18.   at UnityEditor.HostView.Invoke (string,object) [0x00012] in <3e481e8f36eb4d4c8d94b9ba6b2be438>:0
    19.   at UnityEditor.HostView.Invoke (string) [0x00009] in <3e481e8f36eb4d4c8d94b9ba6b2be438>:0
    20.   at UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect) [0x0007a] in <3e481e8f36eb4d4c8d94b9ba6b2be438>:0
    21.   at UnityEditor.DockArea.DrawView (UnityEngine.Rect,UnityEngine.Rect) [0x00004] in <3e481e8f36eb4d4c8d94b9ba6b2be438>:0
    22.   at UnityEditor.DockArea.OldOnGUI () [0x001a9] in <3e481e8f36eb4d4c8d94b9ba6b2be438>:0
    23.   at UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool) [0x0019e] in <b74e373726c44093a12f440dfb8c99b8>:0
    24.   at UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool) [0x00076] in <b74e373726c44093a12f440dfb8c99b8>:0
    25.   at UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () [0x0005a] in <b74e373726c44093a12f440dfb8c99b8>:0
    26.   at UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,bool,single,System.Exception&) [0x00083] in <b74e373726c44093a12f440dfb8c99b8>:0
    27.   at UnityEngine.UIElements.UIR.UIRenderDevice.EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Rect,UnityEngine.Matrix4x4,UnityEngine.UIElements.PanelClearFlags,UnityEngine.Texture,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeArray`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeArray`1<UnityEngine.Vector4>,System.Exception&) [0x00500] in <b74e373726c44093a12f440dfb8c99b8>:0
    28.   at UnityEngine.UIElements.UIR.UIRenderDevice.DrawChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Rect,UnityEngine.Matrix4x4,UnityEngine.UIElements.PanelClearFlags,UnityEngine.Texture,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeArray`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeArray`1<UnityEngine.Vector4>,System.Exception&) [0x0002c] in <b74e373726c44093a12f440dfb8c99b8>:0
    29.   at UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect,UnityEngine.Matrix4x4,UnityEngine.UIElements.PanelClearFlags) [0x0066e] in <b74e373726c44093a12f440dfb8c99b8>:0
    30.   at UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect,UnityEngine.Matrix4x4) [0x00020] in <b74e373726c44093a12f440dfb8c99b8>:0
    31.   at UnityEngine.UIElements.UIRRepaintUpdater.Update () [0x00033] in <b74e373726c44093a12f440dfb8c99b8>:0
    32.   at UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase) [0x0001f] in <b74e373726c44093a12f440dfb8c99b8>:0
    33.   at UnityEngine.UIElements.Panel.UpdateForRepaint () [0x0003c] in <b74e373726c44093a12f440dfb8c99b8>:0
    34.   at UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event) [0x00061] in <b74e373726c44093a12f440dfb8c99b8>:0
    35.   at UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel) [0x00029] in <b74e373726c44093a12f440dfb8c99b8>:0
    36.   at UnityEngine.UIElements.UIElementsUtility.ProcessEvent (int,intptr) [0x0003e] in <b74e373726c44093a12f440dfb8c99b8>:0
    37.   at UnityEngine.GUIUtility.ProcessEvent (int,intptr) [0x00014] in <817eebdd70f8402280b9cb11fff8b976>:0
    38.   at (wrapper runtime-invoke) <Module>.runtime_invoke_bool_int_intptr (object,intptr,intptr,intptr) [0x00028] in <817eebdd70f8402280b9cb11fff8b976>:0
    39.  
    40. =================================================================
    41. Got a SIGSEGV while executing native code. This usually indicates
    42. a fatal error in the mono runtime or one of the native libraries
    43. used by your application.
    44. =================================================================
    45.  
    46. 0x00007FF618AFA580 (0x00000232803EC090 0x00000232803A61E8 0x00000232803A2CD0 0x00000232803A2CD0)
    47. 0x00007FF618AFFB1B (0x00000232803EC090 0x00000233225E9D70 0x00000232803A61E8 0x00000232803A2CD0)
    48. 0x00007FF618A8E226 (0x00000232803EC090 0x00007FF61E4F1ED0 0x00000232803EBED0 0x0000000000000000)
    49. 0x00007FF618A8D876 (0x00007FF61E4F1ED0 0x00000232C0F36620 0x00000232C0D103E0 0x0000000000000001)
    50. 0x00007FF61914829D (0x00000232803EBED0 0x00000232C0D103E0 0x000000DC2F108350 0x00000000000506AC)
    51. 0x00007FF61914F64F (0x0000023320605550 0x0000023200000001 0x0000000000000000 0x00000232C000E901)
    52. 0x00007FF619136E21 (0x00000232803A0EA0 0x0000000000000000 0x000000DC2F1186D8 0x000000DC2F108560)
    53. 0x00007FF618AD89DD (0x00000232803A0EA0 0x0000000000000000 0x000000DC2F1186D8 0x0000023320C49F80)
    54. 0x00007FF61911CB89 (0x0000000000000000 0x00007FF6FFFFE23C 0x00007FF6187EC250 0x0000000000000000)
    55. 0x00007FF6190FF589 (0x00000232803A0EA0 0x000000DC2F1085A0 0x00007FF61B9E9E10 0x000002332109E600)
    56. 0x00007FF617D1FC0E (0x0000000000000000 0x0000000000000000 0x000002332109E600 0x000000DC2F118880)
    57. 0x00007FF617D22FD0 (0x000002332109E600 0x0000023300000000 0x000000DC2F13A478 0x0000000000000001)
    58. 0x00007FF617D24843 (0x00007FF61BB873F0 0x000000DC2F13A478 0x0000000000000001 0x0000000000000000)
    59. 0x00007FF61861E9E8 (0x000002343CCB00C0 0x0000000000000001 0x000000DC2F13A200 0x0000000000000001)
    60. 0x000002343DD1682B (0x0000000000000001 0x000000DC2F13A200 0x0000000000000001 0x000000DC2F13B400) <unknown module>
    61. 0x000002343CCB00C0 (0x000000DC2F13A200 0x0000000000000001 0x000000DC2F13B400 0x000000DC2F13A200) <unknown module>
    62. 0x0000000000000001 (0x0000000000000001 0x000000DC2F13B400 0x000000DC2F13A200 0x000000DC2F13A180) <unknown module>
    63. 0x000000DC2F13A200 (0x000000DC2F13B400 0x000000DC2F13A200 0x000000DC2F13A180 0x00007FFB0062AD70) <unknown module>
    64. 0x0000000000000001 (0x000000DC2F13A200 0x000000DC2F13A180 0x00007FFB0062AD70 0x00007FFB0062AD78) <unknown module>
    65. 0x000000DC2F13B400 (0x000000DC2F13A180 0x00007FFB0062AD70 0x00007FFB0062AD78 0x0000000000000001) <unknown module>
    66. 0x000000DC2F13A200 (0x00007FFB0062AD70 0x00007FFB0062AD78 0x0000000000000001 0x0000000000000001) <unknown module>
    67. 0x000000DC2F13A180 (0x00007FFB0062AD78 0x0000000000000001 0x0000000000000001 0x000002343CC04000) <unknown module>
    68. 0x00007FFB0062AD70 (0x0000000000000001 0x0000000000000001 0x000002343CC04000 0x00000234A3B756A0), mono_use_interpreter() + 0x175C bytes(s)
    69. 0x00007FFB0062AD78 (0x0000000000000001 0x000002343CC04000 0x00000234A3B756A0 0x000002343CCB00C0), mono_use_interpreter() + 0x1764 bytes(s)
    70. 0x0000000000000001 (0x000002343CC04000 0x00000234A3B756A0 0x000002343CCB00C0 0x0000000000000000) <unknown module>
    71. 0x0000000000000001 (0x00000234A3B756A0 0x000002343CCB00C0 0x0000000000000000 0x0000000000000000) <unknown module>
    72. 0x000002343CC04000 (0x000002343CCB00C0 0x0000000000000000 0x0000000000000000 0x000000DC2F13A3D0) <unknown module>
    73. 0x00000234A3B756A0 (0x0000000000000000 0x0000000000000000 0x000000DC2F13A3D0 0x000002343DD00B4B) <unknown module>
    74. 0x000002343CCB00C0 (0x0000000000000000 0x000000DC2F13A3D0 0x000002343DD00B4B 0x0000000000000000) <unknown module>
    75. Crash!!!