Search Issue Tracker
Fixed in 6000.3.3f1
Fixed in 6000.0.65f1, 6000.3.X, 6000.4.X, 6000.5.X, 6000.5.0a4
Votes
0
Found in
6000.0.64f1
6000.3.1f1
6000.4.0b1
6000.5.0a1
Issue ID
UUM-130285
Regression
No
Binding a mipmap as UAV to a compute shader causes validation errors with WebGPU
Steps to reproduce:
- Open attached project WebGPUMipBug.zip.
- Open SampleScene.unity.
- Make sure that Web platform is selected in the build window, and that the graphics library is set to WebGPU.
- Build and run.
- Open the browser console and observe validation errors.
Error message:
{code:java}
mipLevelCount (4) of [TextureView of Texture (unlabeled 8x8 px, TextureFormat::RGBA8Unorm)] expected to be 1.
- While validating entries[0] against { binding: 0, visibility: ShaderStage::Compute, storageTexture: {format: TextureFormat::RGBA8Unorm, viewDimension: TextureViewDimension::e2D, access: StorageTextureAccess::WriteOnly} }.
- While validating [BindGroupDescriptor] against [BindGroupLayout "TestCompute.CSMain_BindGroupLayout[0]_693"]
- While calling [Device].CreateBindGroup([BindGroupDescriptor]). {code}
{code:java}
(index):1 [Invalid BindGroup "TestCompute.CSMain_BindGroup[4]_696"] is invalid.
- While encoding [ComputePassEncoder (unlabeled)].SetBindGroup(0, [Invalid BindGroup "TestCompute.CSMain_BindGroup[4]_696"], 0, ...).
- While finishing [CommandEncoder (unlabeled)]. {code}
Actual results: Validation errors, shader fails to execute.
Expected results: No validation errors, shader works.
Reproduced on 6000.5, Windows 11
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
- “FocusController has unprocessed focus events.” warnings are thrown after adding iOS, tvOS or visionOS Build Profiles
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
Resolution Note (fix version 6000.3.3f1):
WebGPU: Fix for setting mip level for writable textures bound to compute shaders.
Resolution Note (fix version 6000.5.0a4):
WebGPU: Fix for setting mip level for writable textures bound to compute shaders.
Resolution Note (fix version 6000.5):
WebGPU: Fix for setting mip level for writable textures bound to compute shaders.
Resolution Note (fix version 6000.4):
WebGPU: Fix for setting mip level for writable textures bound to compute shaders.
Resolution Note (fix version 6000.3):
WebGPU: Fix for setting mip level for writable textures bound to compute shaders.
Resolution Note (fix version 6000.0.65f1):
WebGPU: Fix for setting mip level for writable textures bound to compute shaders.