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
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Tags window completely breaks and throws Exception errors when Adding a Tag to a GameObject
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
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.