Search Issue Tracker
By Design
Votes
0
Found in
2017.1.1p3
Issue ID
973400
Regression
Yes
[OpenGL] Z-fighting when Camera's Near Clipping plane has very small value and Objects are located far from the world origin
To reproduce:
1. Download and open attached project.
2. Open "Scene" scene.
3. Enter play mode.
4. Notice the Z-fighting in presented cube gameObjects.
Expected result: No Z-fighting occurs on the cubes when rotating the camera.
Actual result: Z-fighting occurs on the cubes when camera is being rotated.
Reproduced with: 2018.1.0a6, 2017.3.0b11, 2017.2.0p4, 2017.1.2p3, 5.6.4p3, 5.6.0b3.
Not reproduced with: 5.6.0b2, 5.5.5p2.
Regression introduced in: 5.6.0b3.
Notes: Issue seems to occur when specific scenario is met: Camera's Near Clipping Plane is set to be 0.01 and Objects are located far away from the world center (8000 in this case). Did not reproduce on Direct3D11, Direct3D12 and Vulkan graphics APIs. Reproduced with OpenGLES3, OpenGLES2 and OpenGLCore.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment