n0ddy
3 years agoExplorer
Native SDK Validation Error
I am trying to build a VR app using the Native SDK provided. On closing the app I am receiving the following Validation Error on the line "ovr_DestroyTextureSwapChain(session, depthChain);". Does anyone knows what might the reason behind it and how to resolve the issue? I am also pasting the Validation Layer Error for further reference:
ERROR: (COMMAND_BUFFER 0x2abc43e9820) [Validation] Validation Error: [ VUID-vkFreeCommandBuffers-pCommandBuffers-00047 ] Object 0: handle = 0x2abc43e9820, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x1ab902fc | Attempt to free VkCommandBuffer 0x2abc43e9820[] which is in use. The Vulkan spec states: All elements of pCommandBuffers must not be in the pending state