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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment