Search Issue Tracker
Active
Votes
0
Found in
2020.2.0a13
2020.3
2021.2.9f1
2021.3
2022.1
2022.2
Issue ID
1407280
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<>
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
- “Assertion failed on expression” errors thrown when undoing Nodes creation with keyboard shortcut
- Crash on various stack traces when using Texture2D.CreateExternalTexture() while rendering
- Clicking on section text in Node Library > Context folder throws NullReferenceException errors
Add comment