Search Issue Tracker
Third Party Issue
Votes
0
Found in
2021.3.43f1
2022.3.45f1
6000.0.18f1
Issue ID
UUM-79365
Regression
No
Vulkan validation errors with Texture3D.CreateExternalTexture due to unneeded Texture2DArray ImageViews when the Editor is run in batchmode
How to reproduce:
1. Download and unzip the attached “IN-83539” project
2. Add the project to Unity Hub
3. In Unity Hub, select the “…” button next to the project’s Editor version
4. Choose “Add command line arguments”
5. Enter “-batchmode -runTests -testResults "C:\<Enter a path here>\results.xml" -testPlatform PlayMode” into the text field and click “Save”
6. Run the project
7. Observe the result in the generated “results.xml” file
Expected result: The file contains no validation errors, and all the tests passed
Actual result: The file contains Vulkan validation errors (see notes)
Reproducible in: 2021.3.43f1, 2022.3.45f1, 6000.0.18f1
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested
Notes:
* Does not reproduce unless the Vulkan SDK is installed, which can be downloaded from here: [https://vulkan.lunarg.com/home/welcome|https://vulkan.lunarg.com/home/welcome|smart-link]
* If the issue does not reproduce after installing the Vulkan SDK, try running the “Vulkan Configurator” application in the background while testing
* Error: “VULKAN: VALIDATION ERROR: Validation Error: [ VUID-VkImageCreateInfo-flags-09403 ] | MessageID = 0xf53c568c | vkCreateImage(): pCreateInfo->flags is VK_IMAGE_CREATE_SPARSE_BINDING_BIT|VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT. The Vulkan spec states: If flags contains VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT, flags must not include VK_IMAGE_CREATE_SPARSE_ALIASED_BIT, VK_IMAGE_CREATE_SPARSE_BINDING_BIT, or VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-VkImageCreateInfo-flags-09403)"
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
The issue is in the provided render plugin in a user added function 'RenderAPI_Vulkan::createImage'. The 'RenderAPI_Vulkan::createImage' function composes the VkImageCreateInfo incorrectly when depth is greater than 1, causing VUID-VkImageCreateInfo-flags-09403.