Search Issue Tracker

Not Reproducible

Votes

0

Found in [Package]

9.x

Issue ID

1242584

Regression

No

Crash on opening some HDRP scene with Windows Vulkan

Package: Scriptable Render Pipeline HD

-

Get SRP repository: https://github.com/Unity-Technologies/Graphics and open HDRP_Test project
https://github.com/Unity-Technologies/Graphics/tree/master/TestProjects/HDRP_Tests with Vulkan API under windows

Load any of those test scene: 1204, 2008, 5001, 5002, 5002, 5003, 5008 and Unity will crash.

Crash happen in random command buffer execution (this can vary) - see screenshots.

The remaining error is a

VULKAN DEBUG: ERROR: [Validation, 0]: Validation Error: [ VUID-vkQueuePresentKHR-pWaitSemaphores-03268 ] Object 0: handle = 0x20c76185db0, type = VK_OBJECT_TYPE_QUEUE; Object 1: handle = 0x30de4c0000000abf, type = VK_OBJECT_TYPE_SEMAPHORE; | MessageID = 0x251f8f7a | VkQueue 0x20c76185db0[] is waiting on VkSemaphore 0x30de4c0000000abf[] that has no way to be signaled. The Vulkan spec states: All elements of the pWaitSemaphores member of pPresentInfo must reference a semaphore signal operation that has been submitted for execution and any semaphore signal operations on which it depends (if any) must have also been submitted for execution. (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-vkQueuePresentKHR-pWaitSemaphores-03268)
I get this issue when calling void GfxDeviceVK::PresentImage(bool finalizeFrame) and it go up to return vulkan::ext::vkQueuePresentKHR(queue, &requestedPresentInfo);

Following by
VULKAN DEBUG: ERROR: [Validation, 0]: Validation Error: [ VUID-vkDestroyFramebuffer-framebuffer-00892 ] Object 0: handle = 0x194757bc6f0, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xdb308312 | Cannot call vkDestroyFramebuffer on VkFramebuffer 0xb34a6000000118d4[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to framebuffer must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-vkDestroyFramebuffer-framebuffer-00892)

before the crash

It could be related to the crash and seems like a good candidate.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.