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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment