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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
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.