Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug CurrentLayout strikes again

Discussion in '2020.2 Beta' started by Hyp-X, Nov 26, 2020.

  1. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    421
    Hi!

    I'm getting the following crash from time-to-time when starting the editor:

    Code (CSharp):
    1.  
    2. [LAYOUT] About to load Library/CurrentLayout-default.dwlt, keepMainWindow=False
    3. Stacktrace:
    4.  
    5.   at <unknown> <0xffffffff>
    6.   at (wrapper managed-to-native) UnityEditorInternal.InternalEditorUtility.LoadSerializedFileAndForget (string) [0x00007] in <035872db5a94479ab5279e32150d6196>:0
    7.   at UnityEditor.WindowLayout.LoadWindowLayout (string,bool,bool,bool) [0x000f3] in <035872db5a94479ab5279e32150d6196>:0
    8.   at UnityEditor.WindowLayout.LoadProjectLayout (bool) [0x00043] in <035872db5a94479ab5279e32150d6196>:0
    9.   at UnityEditor.WindowLayout.LoadCurrentModeLayout (bool) [0x00020] in <035872db5a94479ab5279e32150d6196>:0
    10.   at UnityEditor.WindowLayout.LoadDefaultWindowPreferences () [0x0000b] in <035872db5a94479ab5279e32150d6196>:0
    11.   at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0001f] in <9577ac7a62ef43179789031239ba8798>:0
    12.  
    13. =================================================================
    14. Got a SIGSEGV while executing native code. This usually indicates
    15. a fatal error in the mono runtime or one of the native libraries
    16. used by your application.
    17. =================================================================
    18.  
    19. Received signal SIGSEGV
    20. Stack trace:
    21. RtlLookupFunctionEntry returned NULL function. Aborting stack walk.
    22. <Missing stacktrace information>
    23.  
    If I restart the editor it doesn't crash the next time.
    Any idea how to provide useful info for fixing this?
     
  2. Bastienre4

    Bastienre4

    Joined:
    Jul 8, 2014
    Posts:
    191
    This is also happening in the Unity 2020.1.13f1, but NOT in 2020.1.1f1