Search Issue Tracker
Active
Under Consideration for 2022.2.X, 2023.2.X
Votes
12
Found in
2022.2.17f1
2023.1.0b14
2023.2.0a12
Issue ID
UUM-34321
Regression
No
Depth readback renders a white rectangle when Game and Scene viewports are open
How to reproduce:
1. Open the “Depth_Readback_Bug” Project
2. Open the “SampleScene”
3. In the Toolbar, select the “2 by 3” layout
4. Enter Play Mode and observe the Game viewport
Expected result: a depth buffer is rendered in the top left corner
Actual result: a white rectangle is rendered in the top left corner and errors are logged to the Console
Reproduced with: 2021.3.24f1, 2022.2.17f1, 2023.1.0b14, 2023.2.0a12
Could not test with: 2020.3.47f1 (Could not resolve scripting errors)
Reproduced on: Windows 11
Errors logged to the Console:
Error Log #1:
{noformat}
AsyncGPUReadback - None (0) graphics format is not supported as source for async read back
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&){noformat}
Error Log #2:
{noformat}
asyncGPUReadbackRequest hasError is true
UnityEngine.Debug:LogError (object)
DepthReadbackPass:Callback (int,int,UnityEngine.Rendering.AsyncGPUReadbackRequest) (at Assets/Scripts/DepthReadbackPass.cs:54)
DepthReadbackPass/<>c__DisplayClass3_0:<Execute>b__0 (UnityEngine.Rendering.AsyncGPUReadbackRequest) (at Assets/Scripts/DepthReadbackPass.cs:36)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&){noformat}
Notes:
1. On some reproducible versions, the shadows disappear (see attached image)
2. On some reproducible versions, when using the “2 by 3” layout, the Scene viewport either flashes or becomes a solid color (see attached video)
3. On some reproducible versions, when using the “Default” layout, the Play viewport is black and has a white rectangle in the top left corner
4. On some reproducible versions, after the reproduction steps the Unity Editor crashes (stack trace provided in comment)
5. Could not test with HDRP and Built-in RP → scripts depend on URP
6. Not reproducible when only the Game view is open
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The <sprite> tag inserted image from a Sprite Asset into the UI Builder Button disappears when the Inlined Style Text Shadow Horizontal or Vertical Offset is set to be more than 0 px
- Build fails when building with ILCPP Scripting Backend and ARMv7 as the Target Architecture
- Textures turn black in Player when they are referenced by a script instance
- [Android] Virtual device crashes with "Scudo ERROR: invalid chunk state when deallocating address" error in Firebase Test Lab when Optimized Frame Pacing is enabled
- Particle System does not resume when its Culling Mode is set to "Pause" or "Pause and Catch-up," and particle position simulate in world space
Add comment