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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment