Blog Post
Vulkan rendering fails after a few seconds in our game on this version, while the game still runs,
Version 50.0.0.147.257.444962360
Runtime Version 50.0.0.147.257.444962109
OS version user-50163300158200150
Untiy 2020.3.41f
Vulkan backend, Application Spacewarp is enabled so URP
Game keeps running as i can hear the UI buttons when i aim the contollers etc. even click on the buttons and create a lobby. but only last frame is visible (until pressin on power off/on or going outside of guardian then screen is only black)
No visible exception or null references except this starting from this warninglog
02-20 11:48:47.853: W/Vulkan_Utils(10701): Vulkan error: vulkanLoader.vkQueueWaitIdle(queue): 'VK_ERROR_DEVICE_LOST'(-4) at arvr/projects/xrruntime/mobile/VrRuntime/Common/Vulkan/Vulkan_Utils.cpp:198
recurring part:
02-20 11:49:03.684: W/Adreno-GSL(10701): <log_gpu_snapshot:471>: panel.gpuSnapshotPath is not set.not generating user snapshot
02-20 11:49:03.685: W/VrRuntimeClient(10701): Fence still couldn't be reset in WarpSwapAddFenceJobs : Submitting fenceless frame
02-20 11:49:03.786: W/FenceChecker(10701): FenceChecker: wait timed out after 100 msec
also another recurring log from a debug build
02-20 12:09:21.614: W/Adreno-GSL(26009): <ioctl_kgsl_syncobj_create:5230>: (3e, 34, 891) fail 22 Invalid argument
02-20 12:09:21.614: W/Vulkan_Utils(26009): Vulkan error: vulkanLoader.vkQueueSubmit(VulkanContext.queue, 0, NULL, fenceToUse): 'VK_ERROR_INITIALIZATION_FAILED'(-3) at arvr/projects/xrruntime/mobile/VrRuntime/Client/VrRuntimeClient/VrRuntimeClient.cpp:2360
PS; send in bug reports link doesn't work
- benderlucas3 years agoHonored Guest
I also had issues with Vulkan on Oculus Quest 2 after v50. My game stopped to work after the update. Turning off Vulkan on Player Settings solved to me.
I'm using Unity 2021.3.6f1 with URP and everything used to work fine in V49. - ApeOnFire2 years agoHonored Guest
sa_murat did you find a fix or cause for this? We've just hit the exact same issue this week.
Quest 2, Vulkan, URP and the Unity 2021.3.x LTS.
We've spent 3 days trying to track down the cause but failed. Smaller scenes do run - including stripped down versions of our production levels - but we just can't zero in on what is actually causing the problem.
The fix from benderlucas below works but switching to GLES is hardly a longterm solution.
Any pointers would be hugely appreciated!