Search Issue Tracker
Won't Fix
Votes
1
Found in
5.5.0f3
Issue ID
874494
Regression
No
Reducing camera's near clipping plane reduces its effective far clipping plane
To reproduce:
1. Create a new scene
2. Add a sphere, set the sphere's scale to (99000,99000,99000), and set its z position to 222000.
3. Select the main camera and set its far clipping plane to 333000 (leaving the near clipping plane at 0.3). It should see the sphere.
4. Now reduce the near clipping plane to 0.1.
Expected result: After reducing "Near Clipping" far away object is visible.
Actual result: After reducing "Near Clipping" far away object is no longer visible.
Reproducible: 5.3.7p1, 5.4.3p1, 5.5.1f1, 5.6.0b6
Workaround:
Make Far Clipping even bigger.
Notes: back in 5.3 and 5.4 versions it looked even worse.
-
SpencerPDX
Jun 20, 2017 18:43
Seeing something like this in a VR scene in which the user is in a jetliner looking out over a vast terrain. The near clip needs to be very close so the user doesn't easily clip through surrounding seats, headrest, and hull, and the far clip needs to be far enough to see distant mountains. Changing the near clip from .1 to a preferable .01 has big, noticeable effects on the farclip, with whole mountain ranges being sliced away. I assume this might be a way of preserving proper z sorting, but it would be nice to have better control over what's going on - the far clip numbers I'm entering now have nothing to do with what I'm seeing in play mode. Thanks!
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note:
It's due to precision as the camera clipping values are being set to extreme values.