Unity keeps closing on Linux

I moved to Debian 12 just today and when I opened my project file the scene view was red, as you can see in the image below:


Then I watched this tutorial that said to disable Auto Graphics API for Linux and move Vulkan above OpenGLCore and it worked, but Unity keeps crashing, the tutorial talked about this issue and his solution was to apt update and then apt upgrade but that didn’t work.
Thanks in advance.