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
- GfxDevice::UpdateBufferRanges when running UIBuilder tests
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
Resolution Note (fix version 2021.2):
Fixed in version 2021.2.0a11