Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2018.4
2019.4
2020.2
2020.2.1f1
2021.1
2021.2
Issue ID
1308206
Regression
No
[Linux] [Vulkan] Crash on vkEnumeratePhysicalDevices when starting the Player without Vulkan drivers installed on the system
Reproduction steps:
1. Open a new or an existing project
2. Go to Edit > Project Settings... > Player > Other Settings
3. Uncheck Auto Graphics API for Linux
4. Move Vulkan above OpenGL Core
5. Build and Run the project
Expected result: The Player starts and everything works
Actual result: The Player crashes if Vulkan drivers are not installed on the system
First 5 lines of the stack trace:
#0 0x007faab8ded3c0 in funlockfile
#1 0x007faab4ae3119 in _init
#2 0x007faab4aeb2bd in vkEnumeratePhysicalDevices
#3 0x007faab9a7e11f in vk::Initialize()
#4 0x007faab9a882b9 in CreateVKGfxDevice()
Reproducible with: 2018.4.32f1, 2019.4.21f1, 2020.2.6f1, 2021.1.0b8, 2021.2.0a6
Notes:
- Make sure to not have Vulkan drivers installed on the system (uninstalled with the command `sudo apt-get remove mesa-vulkan-drivers`)
- If `-force-glcore` is set when starting the Player through the command line, it starts properly
- It has been reported that. on Windows. the Player automatically falls back to the existing Graphics API (e.g. DX11)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mouse inputs cannot be inputted when searching the Shortcuts Menu by type "Shortcut"
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
- Inspector Asset Bundle section has no indication for Variants, AssetBundle is written without a space, and Variant dropdown menu is available without setting the Asset Bundle first
Resolution Note (fix version 2021.2):
Fixed in version 2021.2.0a11