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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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