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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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