Search Issue Tracker
Feature Request
Feature Request in 2022.2.X
Votes
0
Found in
2020.2.0a13
2020.3.34f1
2021.3.3f1
2022.1.1f1
2022.2.0a14
Issue ID
UUM-709
Regression
Yes
Compute Shader with RWBuffer<> type throws an error when it is compiled with Vulkan API
Reproduction steps:
1. Open the user's attached "Buffer and RWBuffer dont work in Vulkan.zip"
2. In the Project window select Assets/Resources/NewComputeShader.compute
3. In the Inspector click "Show compiled code"
Expected result: No errors appear in the Inspector
Actual result: "The resource 'Result_origX0X' uses an unsupported type/format at kernel TESTKernel" error appears in the Inspector
Reproducible with: 2020.2.0a13, 2020.3.34f1, 2021.3.3f1, 2022.1.1f1, 2022.2.0a14
Not reproducible with: 2019.4.39f1, 2020.2.0a12
Reproducible on: Windows 10, Windows 11
Could not test on: macOS (Intel) 12.2.1, Vulkan API is not available
Note: Not reproducible with Direct3D11, Direct3D12, and Metal APIs
Workaround: Error does not appear if RWBuffer<> is changed to RWStructuredBuffer<>
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
- Selection highlight is drawn in an Animation Window when clicking in another Animation Window after highlighting items in the first one
- “Hue Vs Hue (Overriding)” text doesn’t fit within Color Curves dropdown bounds
- UV channels render with visual artifacts when 8-bit UV bit depth is used on ParticleSystem Meshes
- Symbolic link warning is logged when using non-symlink NTFS Reparse Points in the project folder structure
- Selection in Entities Archetypes window changes when "Show Empty Archetypes" is toggled
Resolution Note:
This is not a bug, but rather because right now our Vulkan backend only accepts single float/int/uint as RWBuffer formats. The work to extend the support for more formats is underway.
Resolution Note (2022.2.X):
This is not a bug, but rather because right now our Vulkan backend only accepts single float/int/uint as RWBuffer formats. The work to extend the support for more formats is underway.