Search Unity

Bug Unhandled exception at 0x00007FFB42BDFDC5 (mono-2.0-bdwgc.dll) in crash.dmp: 0xC0000005: Access viol

Discussion in 'Editor & General Support' started by C3P, Mar 3, 2023.

  1. C3P

    C3P

    Joined:
    Oct 26, 2014
    Posts:
    46
    Getting crashes with newer Unity versions

    2020.3.27f1 = everything works fine (existing project)
    2021.3.18f1 = everything works fine untill i press play, then the editor crashes (existing project)
    2021.3.19f1 up to 2023.1.0b5 = editor starts but crashes after loading (new clean projects)

    Any idea what could be the problem?

    Below you can find a filtered part of the crash dump

    Code (CSharp):
    1. Getting crashes with newer Unity versions
    2.  
    3. 2020.3.27f1 = everything works fine (existing project)
    4. 2021.3.18f1 = everything works fine untill i press play, then the editor crashes (existing project)
    5. 2021.3.19f1 up to 2023.1.0b5 = editor starts but crashes after loading (new clean projects)
    6.  
    7. Any idea what could be the problem?
    8.  
    9. [code=CSharp][code=CSharp]
    10. Assertion failed on expression: 'exception == SCRIPTING_NULL'
    11. C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
    12. C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
    13. C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
    14. C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
    15. C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
    16. C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
    17. C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
    18. C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
    19. C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
    20. C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
    21. C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
    22. C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
    23. Symbol file LoadedFromMemory doesn't match image D:\UnityProjects\projré 3D\projré 3D\Library\PackageCache\com.unity.visualscripting@1.8.0\Editor\VisualScripting.Core\Dependencies\YamlDotNet\Unity.VisualScripting.YamlDotNet.dll
    24. Symbol file LoadedFromMemory doesn't match image D:\UnityProjects\projré 3D\projré 3D\Library\PackageCache\com.unity.visualscripting@1.8.0\Editor\VisualScripting.Core\Dependencies\DotNetZip\Unity.VisualScripting.IonicZip.dll
    25. - Loaded All Assemblies, in  0.869 seconds
    26. Refreshing native plugins compatible for Editor in 4.39 ms, found 3 plugins.
    27. Native extension for Android target not found
    28. Native extension for WindowsStandalone target not found
    29. Native extension for WebGL target not found
    30.  
    31. =================================================================
    32.     Native Crash Reporting
    33. =================================================================
    34. Got a UNKNOWN while executing native code. This usually indicates
    35. a fatal error in the mono runtime or one of the native libraries
    36. used by your application.
    37. =================================================================
    38.  
    39. =================================================================
    40.     Managed Stacktrace:
    41. =================================================================
    42.       at <unknown> <0xffffffff>
    43.       at System.Diagnostics.StackFrame:get_frame_info <0x000ac>
    44.       at System.Diagnostics.StackFrame:.ctor <0x000b2>
    45.       at System.Diagnostics.StackTrace:init_frames <0x0011a>
    46.       at System.Diagnostics.StackTrace:.ctor <0x0002a>
    47.       at UnityEngine.StackTraceUtility:ExtractStringFromExceptionInternal <0x0033a>
    48.       at <Module>:runtime_invoke_void_object_intptr&_intptr& <0x0008f>
    49.       at <unknown> <0xffffffff>
    50.       at Unity.Burst.LowLevel.BurstCompilerService:GetDisassembly <0x00094>
    51.       at Unity.Burst.BurstCompiler:SendRawCommandToCompiler <0x0005a>
    52.       at CommandBuilder:SendToCompiler <0x00032>
    53.       at Unity.Burst.BurstCompiler:SendCommandToCompiler <0x00082>
    54.       at Unity.Burst.BurstCompiler:RequestSetProtocolVersion <0x00132>
    55.       at Unity.Burst.Editor.BurstLoader:.cctor <0x0037a>
    56.       at System.Object:runtime_invoke_void <0x0007c>
    57.       at <unknown> <0xffffffff>
    58.       at System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor <0x00069>
    59.       at System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor <0x0003a>
    60.       at UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes <0x0084a>
    61.       at <Module>:runtime_invoke_void_object <0x00087>
    62. =================================================================
    63. Crash!!!
    64.  
    65.  
    66. ========== OUTPUTTING STACK TRACE ==================
    67.  
    68.  
    69.   ERROR: SymGetSymFromAddr64, GetLastError: 'Kan opgegeven module niet vinden.' (Address: 000001FAE20B2D45)
    70.   ERROR: SymGetModuleInfo64, GetLastError: 'Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.' (Address: 000001FAE20B2D45)
    71. 0x000001FAE20B2D45 ((<unknown>)) (function-name not available)
    72.   ERROR: SymGetSymFromAddr64, GetLastError: 'Kan opgegeven module niet vinden.' (Address: 000001FAE20B2C0B)
    73.   ERROR: SymGetModuleInfo64, GetLastError: 'Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.' (Address: 000001FAE20B2C0B)
    74. 0x000001FAE20B2C0B ((<unknown>)) (function-name not available)
    75.   ERROR: SymGetSymFromAddr64, GetLastError: 'Kan opgegeven module niet vinden.' (Address: 000001FAE20B46C3)
    76.   ERROR: SymGetModuleInfo64, GetLastError: 'Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.' (Address: 000001FAE20B46C3)
    77. 0x000001FAE20B46C3 ((<unknown>)) (function-name not available)
    78.   ERROR: SymGetSymFromAddr64, GetLastError: 'Kan opgegeven module niet vinden.' (Address: 000001FAE20B2A93)
    79.   ERROR: SymGetModuleInfo64, GetLastError: 'Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.' (Address: 000001FAE20B2A93)
    80. 0x000001FAE20B2A93 ((<unknown>)) (function-name not available)
    81.   ERROR: SymGetSymFromAddr64, GetLastError: 'Kan opgegeven module niet vinden.' (Address: 000001FAE20B1F83)
    82.   ERROR: SymGetModuleInfo64, GetLastError: 'Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.' (Address: 000001FAE20B1F83)
    83. 0x000001FAE20B1F83 ((<unknown>)) (function-name not available)
    84.   ERROR: SymGetSymFromAddr64, GetLastError: 'Kan opgegeven module niet vinden.' (Address: 000001FAE20B037B)
    85.   ERROR: SymGetModuleInfo64, GetLastError: 'Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.' (Address: 000001FAE20B037B)
    86. 0x000001FAE20B037B ((<unknown>)) (function-name not available)
    87.   ERROR: SymGetSymFromAddr64, GetLastError: 'Kan opgegeven module niet vinden.' (Address: 000001FAE20B0EFD)
    88.   ERROR: SymGetModuleInfo64, GetLastError: 'Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.' (Address: 000001FAE20B0EFD)
    89. 0x000001FAE20B0EFD ((<unknown>)) (function-name not available)
    90. 0x00007FFB42CCFDC4 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3445] mono_jit_runtime_invoke
    91. 0x00007FFB42C18574 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3066] do_runtime_invoke
    92. 0x00007FFB42C13895 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:563] mono_runtime_class_init_full
    93. 0x00007FFB42B81D10 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\icall-def.h:751] ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor_raw
    94.   ERROR: SymGetSymFromAddr64, GetLastError: 'Kan opgegeven module niet vinden.' (Address: 000001FCB390319A)
    95.   ERROR: SymGetModuleInfo64, GetLastError: 'Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.' (Address: 000001FCB390319A)
    96. 0x000001FCB390319A ((<unknown>)) (function-name not available)
    97.   ERROR: SymGetSymFromAddr64, GetLastError: 'Kan opgegeven module niet vinden.' (Address: 000001FCB390301B)
    98.   ERROR: SymGetModuleInfo64, GetLastError: 'Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.' (Address: 000001FCB390301B)
    99. 0x000001FCB390301B ((<unknown>)) (function-name not available)
    100.   ERROR: SymGetSymFromAddr64, GetLastError: 'Kan opgegeven module niet vinden.' (Address: 000001FCB38FCD4B)
    101.   ERROR: SymGetModuleInfo64, GetLastError: 'Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.' (Address: 000001FCB38FCD4B)
    102. 0x000001FCB38FCD4B ((<unknown>)) (function-name not available)
    103.   ERROR: c 'Kan opgegeven module niet vinden.' (Address: 000001FC0FD030D8)
    104.   ERROR: SymGetModuleInfo64, GetLastError: 'Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.' (Address: 000001FC0FD030D8)
    105. 0x000001FC0FD030D8 ((<unknown>)) (function-name not available)
    106. 0x00007FFB42CCFDC4 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3445] mono_jit_runtime_invoke
    107. 0x00007FFB42C18574 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3066] do_runtime_invoke
    108. 0x00007FFB42C18685 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3113] mono_runtime_invoke
    109. 0x00007FFB2BC27104 (Unity) scripting_method_invoke
    110. 0x00007FFB2BC05034 (Unity) ScriptingInvocation::Invoke
    111. 0x00007FFB2BC00005 (Unity) ScriptingInvocation::Invoke<void>
    112. 0x00007FFB2BD485E3 (Unity) Scripting::UnityEditor::EditorAssembliesProxy::ProcessInitializeOnLoadAttributes
    113. 0x00007FFB2BBF9EA8 (Unity) MonoManager::SetupLoadedEditorAssemblies
    114. 0x00007FFB2BBEF769 (Unity) MonoManager::FinalizeReload
    115. 0x00007FFB2CFB32CA (Unity) ScriptingInitializer::FinalizeReload
    116. 0x00007FFB2D0253C4 (Unity) ImportOutOfDateAssets
    117. 0x00007FFB2D02F5A1 (Unity) RefreshInternalV2
    118. 0x00007FFB2D036DD7 (Unity) StopAssetImportingV2Internal
    119. 0x00007FFB2CB49DEF (Unity) EditorSceneManager::RestoreSceneBackups
    120. 0x00007FFB2C82F136 (Unity) PlayerLoopController::EnterPlayMode
    121. 0x00007FFB2C83F7A1 (Unity) PlayerLoopController::SetIsPlaying
    122. 0x00007FFB2C842F70 (Unity) Application::TickTimer
    123. 0x00007FFB2CCBFDEA (Unity) MainMessageLoop
    124. 0x00007FFB2CCC4AF6 (Unity) UnityMain
    125. 0x00007FF7E7D429FA (Unity) __scrt_common_main_seh
    126. 0x00007FFBA3237614 (KERNEL32) BaseThreadInitThunk
    127. 0x00007FFBA44026A1 (ntdll) RtlUserThreadStart
    128.  
    129. ========== END OF STACKTRACE ===========
    130.  
    131. A crash has been intercepted by the crash handler. For call stack and other details, see the latest crash report generated in:
    132. * C:/Users/Admin/AppData/Local/Temp/Unity/Editor/Crashes
    133.  
    [/code]