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
- [Linux] TMP Font Asset pop-up Window opens on the secondary monitor when the Editor is placed in primary monitor
- Transition delay is ignored when opacity is listed before scale in transition-property of the Styles.uss file
- “NullReferenceException” error thrown in the Console when pressing kebab button in Pipeline Specific Settings for Default Profile in Project Settings window
- [Silicon] Crash on os_unfair_recursive_lock_lock_with_options when opening a project while the Razer Synapse app is open
- Build fails with a warning when running Unity Editor’s csc.dll manually using dotnet command
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.