Search Issue Tracker
Fixed in 6000.0.65f1
Fixed in 6000.0.X, 6000.3.X, 6000.4.X, 6000.5.X, 6000.5.0a4
Votes
0
Found in
6000.0.64f1
6000.3.0f1
6000.4.0a5
6000.5.0a4
Issue ID
UUM-130122
Regression
No
[WebGPU] clearing 2d array texture only clears first slice
Steps to reproduce:
CommandBuffer cmd = new CommandBuffer();
RenderTargetIdentifier rtId = new RenderTargetIdentifier(arrayTexture, 0, CubemapFace.Unknown, RenderTargetIdentifier.AllDepthSlices);
cmd.SetRenderTarget(rtId);
cmd.ClearRenderTarget(false, true, clearColor * 0.5f);
Graphics.ExecuteCommandBuffer(cmd);
cmd.Release();
Actual results:
Only the first array slice is cleared.
Expected results:
All array slices are cleared.
Reproducible with versions:
Not reproducible with versions:
Can’t test with versions:
Tested on (OS):
Notes:
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
- GameObjects change Hierarchy order when undoing adding Component to multiple GameObjects
- [macOS] Editor crashes after entering Play mode with overlapping GameObjects with Cloth Component and Cloth Inter-Collision enabled
- Look Dev constantly regenerates the default Volume Profile when set to "None" instead of using the default one
- Look Dev errors are spammed when opening a new HDRP project when Look Dev was added to the layout in the previous project
- URP Scene Templates are not editable when first opened from the New Scene dialog
Resolution Note (fix version 6000.5):
WebGPU: fix issue with setting a Texture2DArray as a render target with AllDepthSlices, only the first layer was cleared.
Resolution Note (fix version 6000.4):
WebGPU: fix issue with setting a Texture2DArray as a render target with AllDepthSlices, only the first layer was cleared.
Resolution Note (fix version 6000.3):
WebGPU: fix issue with setting a Texture2DArray as a render target with AllDepthSlices, only the first layer was cleared.
Resolution Note (fix version 6000.0):
WebGPU: fix issue with setting a Texture2DArray as a render target with AllDepthSlices, only the first layer was cleared.