r/Unity3D • u/Meheraj7 • Jun 30 '20
Question VULKAN build crashes for majority players, why?
Before I get to the problem, let me state that the standalone build in DX11 works perfectly fine without any crash what so ever for everyone.
The problem occurs when starting the game with vulkan API. When opening the build during the time we are loading the main menu scene from a loading scene(separate loading scene that is assigned in the beginning) at around 80%-100% the build crashes. Mind not for everyone but majority.This is fairly unacceptable for us since the vulkan version is giving our players double the fps they get in DX11.
Now you might say this is because we have a GPU/CPU that doesnt support vulkan, well for all the users(that tested) they can easily play other games using vulkan, why should this be different?
Now if this was something that didnt work for everyone that could easily mean the problem is with the game. However because it works for few people I am wondering why it really crashes. I have checked for crash reports but it does not generate any crash report when crashing with vulkan. Not sure why, hoping some one here can refresh me on that. Other type of crashes do generate report.
You can also say this can be because the users that can get it to work use a better PC, but well you are wrong there too I am afraid. For those who didnt crash using vulkan some of them use one of the lowest spec PCs and some of them use the highest. The difference is too drastic for this to be considered an issue for the crash.
All this leading me to ask this one thing, (mostly because unity's support ignores this question). Why does vulkan build crash for majority(People who can also play other games using vulkan)?
1
u/pschon Unprofessional Jun 30 '20
if you can't check crash reports, then check player log file.
Also, if your agem is multiplatform, and supports Linux, try yourself, or ask a Linux player, to strat the game form a terminal to catch any possibly useful messages. This might provide some help ojn other platfomrs as well of course, but usually Linux is the one that gives you most useful info.
(We are also using Vulkan, and wihtout problems, so you probaly are still lookign at something that's caused by your game, not some kind of universal Unity issue wiht Vulkan. So if you were asking Untiy support about Unity issue causing crashes on Vulkan, that would be why they ignored the question. They can only help you wiht Unity itself, not with things specific to your game.)
1
u/SeaworthinessNo1249 Feb 17 '22
Possibly due to driver. Even my laptop also crashes even when using vulkan as player graphics API.
To try solve your issue. Let's do some checklist
Please update know if there are changes.