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
- The Multiplayer Play mode tool doesn't see the list of Play Mode scenarios when using 6000.3.x
- Input field does not update when selecting the same input field after previous input was canceled
- No warning thrown when modifying array size while editing multiple objects
- Root Motion Node option does not revert when changing the selection and clicking "Revert" in Inspector
- VFX Graph prefabs are not fully instanced when they are instantiated via a script
Resolution Note (fix version 2021.2):
Fixed in version 2021.2.0a11