Unity Crashed!!Got a UNKNOWN while executing native code

Hi,
I was trying to make multiplayer game when I came across this “bug”, maybe it’s my computer but I don’t know, it never happened to me before. Anyway I fired up unity hub, created a new project and from the template I chose 3D URP Core. Then as usual it started to load stuffs and after few minutes of loading it crashed. I tried again with 3D HDRP Core but it crashed again. The version of unity that I was using when the crash happened initially was Unity 2021.1.24f1. After few days fiddling with the issue, I upgrade the editor to 2021.3LTS thinking that it might solve the issue but it didn’t. Kept creating new projects, reinstalling editor, deleting data files but nothing worked. The log says “Got a UNKNOWN while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application”. If anyone knows how to fix this, please let me know
Thanks

8063789–1041572–Editor.txt (18.6 KB)
8063789–1041575–Editor-prev.txt (1.23 MB)
8063789–1041578–upm.txt (1.58 KB)

Btw 2D URP works fine but 3D URP and 3D HDRP are still not working and I’m not getting any support from the unity team or the community:(

That’s sad bro…makes me feel like we should switch to unreal engine…

No they did respond, sorry it was my fault, I didn’t check the email

What was your issue?

I have the same problem.
New Project → 3D Sample Scene (URP) → Close project
Open Project → crash

I am new to Unity, and cannot get started…

Log:
“Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.”

unity crashes when installing URP or HDRP and when opening projects that have HDRP or URP installed

Google brings up this, might it be related in your case? Unity Issue Tracker - Crash and assertion "warning: Assertion failed on expression: 'texture != NULL'" when baking and cancelling repeatedly

Nah mate, it is not related to this but I reinstalled windows and unity few days back, it kinda works now so…I guess it’s solved for now.

Correction, it’s not working, when I upgraded the project from Unity 2020.3 LTS it worked but when I created a new project it still crashed

So, how do you solve this problem? bro

Idk bruh, at least it works for me when upgrading an old project or opening third person template loaded with URP. Maybe try reinstalling Windows, switch to Linux or something like that coz unity technical support.exe stopped working…

Do you happen to have the latest windows 11 build?
Started happening to me on build 25163, now updated to build 25169 and still happening…

Same issue here. I finally got the month off of work to finish up a project, and cannot even open a blank project. In ANY version of the Editor. Already deleted all Unity instances and Unity Hub and started fresh. I guess time to learn Unreal or Panda3D?

There is a known issue with insider versions of Windows (builds 25163-25169). See this: 2021.3.2f1 Unity player crashes when the user moves his mouse

Can you attach a crash dump (.dmp) file for your original issue? I might be able to tell what’s going on.

Ok it’s fixed now using the latest win 11 updated version

Please find attached crash log dump. I am facing this issue in Unity 2020.3.18f1 LTS

8567822–1146794–Crash_2022-11-07_081205696.zip (384 KB)

That looks like a completely different issue. You’ll have to report a bug on it. Although you are on a fairly old Unity version so I’d suggest updating to 2020.3.41f1 first.

Getting the exact same issue with 2021.3.13f1 on macOS Ventura 13.0
It does not seem to be related to any of the code. The same project opens and runs Ok on Windows… something with mono on macos

=================================================================
    Native Crash Reporting
=================================================================
Got a segv while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
    Native stacktrace:
=================================================================
    0x1630c663e - /Applications/Unity/Hub/Editor/2021.3.13f1/Unity.app/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libmonobdwgc-2.0.dylib : mono_dump_native_crash_info
    0x16306c8f3 - /Applications/Unity/Hub/Editor/2021.3.13f1/Unity.app/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libmonobdwgc-2.0.dylib : mono_handle_native_crash
    0x162fe8cb5 - /Applications/Unity/Hub/Editor/2021.3.13f1/Unity.app/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/libmonobdwgc-2.0.dylib : mono_sigsegv_signal_handler_debug
    0x7ff8139c0c1d - /usr/lib/system/libsystem_platform.dylib : _sigtramp
    0x10200000104 - Unknown
    0x112582034 - /Applications/Unity/Hub/Editor/2021.3.13f1/Unity.app/Contents/MacOS/Unity : _ZN15GfxDeviceWorker10RunCommandER20ThreadedStreamBuffer
    0x1129ccc8c - /Applications/Unity/Hub/Editor/2021.3.13f1/Unity.app/Contents/MacOS/Unity : GfxDeviceWorkerAutoreleasePoolProxy
    0x11258c783 - /Applications/Unity/Hub/Editor/2021.3.13f1/Unity.app/Contents/MacOS/Unity : _ZN15GfxDeviceWorker6RunExtER20ThreadedStreamBuffer
    0x112580898 - /Applications/Unity/Hub/Editor/2021.3.13f1/Unity.app/Contents/MacOS/Unity : _ZN15GfxDeviceWorker18RunGfxDeviceWorkerEPv
    0x110a7bb9b - /Applications/Unity/Hub/Editor/2021.3.13f1/Unity.app/Contents/MacOS/Unity : _ZN6Thread16RunThreadWrapperEPv
    0x7ff813996259 - /usr/lib/system/libsystem_pthread.dylib : _pthread_start
    0x7ff813991c7b - /usr/lib/system/libsystem_pthread.dylib : thread_start

=================================================================
    Telemetry Dumper:
=================================================================
Thread 0x700005978000 may have been prematurely finalized* Assertion at mono-threads.c:702, condition `info' not met, function:mono_thread_info_current,
AcceleratorClientConnectionCallback - disconnected - :0