Search Issue Tracker
By Design
Votes
1
Found in [Package]
12.0.0
Issue ID
1387132
Regression
No
Depth Buffer is const in the URP Package script and cannot be changed from the Editor
How to reproduce:
1. Download project "URPDepthPrecisionIssue-2021.2.zip"
2. In the file explorer go to the URPDepthPrecisionIssue-2021.2\Library\PackageCache\com.unity.render-pipelines.universal@12.1.2\Runtime
3. Open "UniversalRenderer.cs"
4. Observe the 37th line
Expected result: DepthBuffer can be changed from the Editor
Actual result: DepthBuffer is a const and cannot be changed from the Editor
Reproducible with: 12.0.0 (2021.2.0a9, 2021.2.0b15), 12.1.2 (2021.2.7f1), 13.1.3 (2022.1.0b2)
Not reproducible with: 7.7.1 (2019.4.34f1), 10.8.0 (2020.3.25f1), 11.0.0 (2021.1.28f1), 12.0.0 (2021.2.0a8)
Note: In not reproducible versions there is no "UniversalRenderer.cs" file
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
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- Crash on EnumerateDisabledKeywordsInVariantsArray or UNITY_XXH32 when rapidly saving ShaderGraph or VFXGraph changes
Resolution Note:
This is a feature request not a bug and the product portal should be used to request features instead: https://portal.productboard.com/unity/1-unity-platform-rendering-visual-effects/c/452-didn-t-find-what-you-were-looking-for
This is also something we are aware and plan to expose but we don't yet have it in our public roadmap.