Search Issue Tracker
Fixed
Fixed in 2021.3.40f1, 2022.3.34f1, 6000.0.1f1
Votes
0
Found in
2021.3.36f1
2022.3.20f1
2023.2.10f1
2023.3.0b7
6000.0.0b11
Issue ID
UUM-65233
Regression
No
Shader's _CameraDepthTexture is not read when the Camera is rendering to a RenderTexture and has a reduced viewport
Reproduction steps:
1. Open the attached “Repro“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Open the Frame Debugger (Window > Analysis > Frame Debugger)
4. Enable it by pressing the “Enable“ button in the upper-left corner
5. Select Event #13 “Draw Mesh Depth Quad“ and observe the Game View
6. Select Event #6 “Draw Mesh Depth Quad“ and observe the Game View
Expected result: A black circle and a white background is seen like in Event #13
Actual result: Only the white background is seen
Reproducible with: 2021.3.36f1, 2022.3.20f1, 2023.2.10f1, 2023.3.0b7
Reproducible on: Windows 10 (22H2)
Not reproducible on: M1 MacOS 14.3.1
Note: This issue is only reproducible with DX11 or DX12 Graphics APIs. No reproduction on Metal and Vulkan.
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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Resolution Note (fix version 6000.0.1f1):
Fixed Deferred Depth texture dimensions mismatch when modifying Camera's Viewport Rect
Resolution Note (fix version 2022.3.34f1):
Fixed Deferred Depth texture dimensions mismatch when modifying Camera's Viewport Rect
Resolution Note (fix version 2021.3.40f1):
Fixed Deferred Depth texture dimensions mismatch when modifying Camera's Viewport Rect