Search Issue Tracker
Fixed
Won't Fix in 6000.0.X
Fixed in 2022.3.23f1
Votes
0
Found in
2022.3.22f1
2023.2.15f1
6000.0.0b12
Issue ID
UUM-66727
Regression
Yes
DeclareDepthTexture.hlsl is different between Unity versions when they are using the same URP version
How to reproduce:
1. Create and open a new URP project
2. Open Packages/Universal RP/Shader Library/DeclareDepthTexture.hlsl
Expected results: "_CameraDepthTexture_TexelSize" is not declared in "DeclareDepthTexture.hlsl"
Actual results: "_CameraDepthTexture_TexelSize" is declared
Reproducible with: 2022.3.21f1, 2022.3.22f1, 2023.2.15f1, 6000.0.0b12
Not reproducible with: 2021.3.36f1, 2022.3.20f1
Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested
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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note (6000.0.X):
In 2023.3 and later versions you can detect major, minor and patch versions.