Unity editor crashes on Linux with a Vulkan project (AMD GPU driver)

Hello everyone,

I recently switched from Windows to Linux and I’m experiencing frequent crashes with the Unity Editor on a Vulkan project. I’m currently using an AMD 6800XT GPU, and the issue seems very similar to what was reported in this thread. However, it appears that their problem was fixed by a Unity update for NVIDIA cards, while mine persists with AMD.

I’m using Unity Editor version 2022.3.44f1. The crashes happen whenever I try to open any sub-windows, like adding a component, modifying a RectTransform, or doing anything that opens a dialog. The editor itself loads the project fine, but interacting with these elements causes an immediate crash.

I tested it on a fresh new project using OpenGL, and everything worked without any issues. However, as soon as I switched the project to Vulkan, the crashes returned, and I got the following error log:

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

An error has occurred in the native fault reporting. Some diagnostic information will be unavailable.

My drivers are up to date, as well as the Unity Editor and Unity Hub, so I don’t think the issue is due to outdated software. It seems related to the Linux Vulkan configuration in combination with the AMD drivers, but I’m not sure if it’s a known issue specific to this GPU or something else.

Is anyone else experiencing similar crashes with AMD GPUs on Linux? Or does anyone have any suggestions or workarounds that could help mitigate this issue? Any help would be greatly appreciated, as this is severely impacting my workflow.

Thank you in advance!

I remember having frequent crash like what you are describing, especially with the Add Component popup. I am also using Linux with AMD and Vulkan. However that crash was fixed a while ago. I remember Unity had a bug report about it but I can’t find it anymore and I can’t remember which version fixed the issue. But I just tried 2022.3.44 and I couldn’t reproduce the issue.

Which distribution are you using? Which desktop environment? X11 or Wayland? I would suggest reporting the crash to Unity. Usually the fix those pretty quickly.

Thank you for your response!

I’m using Linux Mint 22 with Gnome on Wayland. I haven’t created a bug report yet because I know that Mint isn’t officially supported by Unity, even though it’s closely related to Ubuntu. I wanted to make sure this wasn’t an isolated case before reporting it.

If others on supported distributions aren’t experiencing this issue, I’m wondering if it could be related to my specific setup. I’ll consider reporting the crash to Unity if it seems like a broader issue.

Gnome on Mint? Is that a thing now?

I just tried it on Ubuntu 22.04 with Gnome on Wayland with Unity 2022.3.44 with Vulkan and on AMD hardware and I couldn’t reproduce the issue. At least not with the Add Component menu (which used to crash quiet often before). Do you have a workflow to reproduce the issue?

To clarify, I’m using the “Ubuntu desktop” on Mint with Wayland, which is basically GNOME with some Ubuntu customizations. I’ve tested switching to the “Ubuntu desktop” on X11, and there are zero crashes in that environment.

The workflow to reproduce the issue is quite simple:

1. Create a new project.
2. Switch the project to use Vulkan.
3. Open any dialog window like “Add Component” — it crashes immediately if the session is running on Wayland.

If the bug only occurs on Mint, I don’t think I’ll report. Thanks for testing it on your end!

I remember I upgraded the kernel on my Ubuntu after install because of graphic drives issues (but not related to Unity). Maybe that’s why I don’t have the crash. You could try switching to a newer kernel and see if it fixes the issue. Otherwise I would suggest switching to X11. Unity isn’t interested in Wayland yet.