Search Issue Tracker

Fixed

Fixed in 2021.3.41f1, 2022.3.40f1, 6000.0.10f1

Votes

17

Found in

2021.3.39f1

2022.3.33f1

6000.0.5f1

Issue ID

UUM-73447

Regression

No

[Linux][Vulkan] Crash when using Nvidia drivers >545 and graphics API set to Vulkan

--

-

Reproduction steps:
1. Create an empty Unity project.
2. In Project Settings > Player > Other Settings, remove all Graphics APIs for Linux other than Vulkan.
3. Restart the editor if prompted to.
4. Open an Editor window that is not docked to the main window (e.g. Edit > Preferences).
5. If the issue didn’t reproduce, maximize Unity Window and repeat 4th step

Expected results: Preferences window is opened
Actual results: Unity Editor crashed

Reproduced with: 2021.3.39f1, 2022.3.33f1, 6000.0.5f1

Reproduced on: Ubuntu 24.04, Ubuntu 22.04
Not reproduced on: Windows 10

First lines of the stack trace:
0x7e605b71557e - /home/<user-home>/Unity/Hub/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so :
0x7e605b8619ee - /home/<user-home>/Unity/Hub/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so : mono_assertion_message_disabled
0x7e605b856edc - /home/<user-home>/Unity/Hub/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so :
0x7e605b8583b4 - /home/<user-home>/Unity/Hub/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so :
0x7e605b804822 - /home/<user-home>/Unity/Hub/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so :
0x7e605b715711 - /home/<user-home>/Unity/Hub/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so :
0x7e605b6bdff9 - /home/<user-home>/Unity/Hub/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so :
0x7e605b643480 - /home/<user-home>/Unity/Hub/Editor/2022.3.30f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so :
0x5fe3d1e354fc - /home/<user-home>/Unity/Hub/Editor/2022.3.30f1/Editor/Unity :
0x7e6147450ae0 - /usr/lib/libc.so.6 :
0x7e61425a9e8c - /usr/lib/libnvidia-glcore.so.550.78 :
0x7e6142512dd5 - /usr/lib/libnvidia-glcore.so.550.78 :

Notes:

* This is only reproducible with the Linux Nvidia driver version newer than 545.
* Does not reproduce every time.

  1. Resolution Note (fix version 2021.3.41f1):

    Fixed a crash on Linux where SwapChain recreation could result in a degenerate case where the SwapChain is then immediately lost after recreation causing invalid VKImages to be processed resulting in a crash on certain drivers.

Comments (5)

  1. nrader95

    Jul 15, 2024 09:40

    Same, 2022.3.37 improved things, but crashes still happen sometimes, usually when i maximize/de-maximize tabs.

  2. kylem590

    Jul 11, 2024 17:43

    Crashes seem to be less common in 2022.3.37f1, but I am still getting them.

  3. milkshiftdev

    Jun 12, 2024 17:44

    For me, -force-vulkan-layers does absolutely nothing.

    I use Garuda Linux (Arch based), with Nvidia driver version 555.52. The flag is ineffective in 550 too

  4. ArturMaciag

    Jun 11, 2024 20:16

    Running Unity with flag -force-vulkan-layers fixes problem on my computer.

    Arch Linux with nVidia 550.90.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.