Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.2.X, 2019.3.X
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
2020.1.0a1
2020.1.0a3
Issue ID
1186275
Regression
No
GL.Clear doesn't clear to the provided depth with a partial viewport
Steps to reproduce:
1. Open attached project
2. Open SampleScene
3. Enter Play mode
4. Notice that the main camera viewport changes from 0.5 to 1 every few seconds
Expected result: The main camera viewport content should be green to the left and white everywhere else (no red)
Actual result: When then main camera viewport height is 0.5, a red quad appears on the right
Reproducible with: 2017.4.32f1, 2018.4.10f1, 2019.1.14f1, 2019.2.7f2, 2019.3.0b5, 2020.1.0a6
Notes:
- The red quad should never be visible and should always fail the Z test since the code clears the depth buffer at 0.5. This shouldn't depend on the viewport width/height/location
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment