You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Linux+Nvidia GPU环境下Unity加载项目崩溃问题求助

Unity 2022.3.0f1 在 Linux 下使用 RTX 3050 加载编辑器布局时崩溃

我刚买了一台搭载RTX 3050的笔记本,用来随时开发Unity项目,但Unity 2022.3.0f1每次加载编辑器布局都会崩溃,哪怕是新建的项目也一样。我试过Kubuntu 23和22两个系统,也换过不同版本的GPU驱动,但不管怎么操作,只能通过内置的Intel核显正常打开项目。

以下是Editor.log里的崩溃报告:

[LAYOUT] /home/josef/.config/unity3d/Preferences/Editor-5.x/Layouts/default does not exist. Copying base layouts.
[LAYOUT] About to load /home/josef/.config/unity3d/Preferences/Editor-5.x/Layouts/default/Default.wlt, keepMainWindow=False
VULKAN: GENERAL ERROR: Failed to register present notifier
  Objects:
    #0: { type = VK_OBJECT_TYPE_INSTANCE, handle = 0x5622cf2cb030 }


=================================================================
    Native Crash Reporting
=================================================================
Got a SIGSEGV 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:
=================================================================
    0x7f90d911502e - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so : 
    0x7f90d90bdd09 - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so : 
    0x7f90d9043350 - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so : 
    0x5622cb39554c - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x7f927983c4b0 - /lib/x86_64-linux-gnu/libc.so.6 : 
    0x7f9132c653a6 - /lib/x86_64-linux-gnu/libnvidia-glcore.so.530.41.03 : 
    0x5622cba29fad - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x5622cba2aa13 - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x5622cba2b0c3 - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x5622cba589c8 - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x5622cba588a3 - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x5622cba15271 - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x5622cba14f53 - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x5622cba4de1e - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x5622cd28bfef - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x5622cd285a3f - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x5622cd2859c7 - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x5622cd2856f6 - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x5622cb6185b7 - /home/josef/Unity/Hub/Editor/2022.3.0f1/Editor/Unity : 
    0x7f927988f18a - /lib/x86_64-linux-gnu/libc.so.6 : 
    0x7f927991dbd0 - /lib/x86_64-linux-gnu/libc.so.6 : 

=================================================================
    Telemetry Dumper:
=================================================================
Thread 0x7f90e67ff6c0 may have been prematurely finalized* Assertion at mono-threads.c:702, condition `info' not met, function:mono_thread_info_current, 
[40m[32minfo[39m[22m[49m: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
[40m[32minfo[39m[22m[49m: Unity.ILPP.Runner.PostProcessingAssemblyLoadContext[0]
      ALC ILPP context 1 is unloading
PlatformDependent/Linux/External/baselib/builds/Include/C/Baselib_ThreadLocalStorage.inl.h(13): Assertion failed (rc == 0)
Caught fatal signal - signo:5 code:128 errno:0 addr:(nil)
PlatformDependent/Linux/External/baselib/builds/Include/C/Baselib_ThreadLocalStorage.inl.h(13): Assertion failed (rc == 0)
Caught fatal signal - signo:5 code:128 errno:0 addr:(nil)
Obtained 6 stack frames.
#0  0x005622cb02bade in TLSAllocator<(AllocatorMode)0>::ThreadInitialize(unsigned long, char const*)
#1  0x005622cbca5b43 in AudioManager::EngineThreadStarted(char const*)
#2  0x005622cbca5954 in AudioManager::systemCallback(FMOD_SYSTEM*, FMOD_SYSTEM_CALLBACKTYPE, void*, void*)
#3  0x005622cdf734d4 in FMOD::Thread::callback(void*)
#4  0x007f927988f18a in pthread_condattr_setpshared
#5  0x007f927991dbd0 in __clone
Obtained 6 stack frames.
#0  0x005622cb02bade in TLSAllocator<(AllocatorMode)0>::ThreadInitialize(unsigned long, char const*)
#1  0x005622cbca5b43 in AudioManager::EngineThreadStarted(char const*)
#2  0x005622cbca5954 in AudioManager::systemCallback(FMOD_SYSTEM*, FMOD_SYSTEM_CALLBACKTYPE, void*, void*)
#3  0x005622cdf734d4 in FMOD::Thread::callback(void*)
#4  0x007f927988f18a in pthread_condattr_setpshared
#5  0x007f927991dbd0 in __clone
Launching bug reporter
Launching bug reporter
cp: cannot stat '/proc/6946/status': No such file or directory
cp: cannot stat '/proc/6946/status': No such file or directory

从日志看问题应该和Vulkan有关,但我搜了一圈没找到有相同错误信息的帖子,麻烦各位帮忙看看怎么解决。

内容的提问来源于stack exchange,提问作者CGYak

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.17 20:24:53