Unity Issue Tracker - ”CameraDepthNormalsTexture” is not working when using 2-pass shader
Fixed
UUM-56610
”CameraDepthNormalsTexture” is not working when using 2-pass shader
Unity: Graphics Device Features
Fixed
2023.3.X
2023.3.0a2 onwards
2023.2.X
2023.2.0b16 onwards
2022.3.X
2022.3.7f1 onwards
2021.3.X
2021.3.30f1 onwards
Won't Fix
2023.1.X
2023.1.8f1 onwards
Fixed in: 2023.3.0a19
Fixed in: 2023.2.5f1
This Unity version will no longer be receiving patch updates.
Fixed in: 2022.3.16f1
Fixed in: 2021.3.34f1
How to reproduce:
1. Open the user’s attached “DepthNormalShaderBug.zip” project
2. Open “Bug Test” Scene (Assets/Scenes)
3. Enter Play Mode
4. Observe the result
Expected result: GameObject’s texture is a gradient of red/green/blue colors
Actual result: GameObject’s texture is completely blue