Search Issue Tracker
By Design
Votes
0
Found in [Package]
3.0.0-pre.8
Issue ID
CMCL-1521
Regression
Yes
Cinemachine Virtual Camera's “Near Clip Plane” can’t be set to a lower value than 0.01 when changing its value in the Inspector window
How to reproduce:
1. Open the user’s attached “My project (1).zip” project
2. In the Hierarchy window, select “Virtual Camera” GameObject
3. In the Inspector window, try to change the “Near Clip Plane” value to the lowest
Expected result: “Near Clip Plane” value is 0.001
Actual result: “Near Clip Plane” value is 0.01
Reproducible with: 2.9.0-pre.6, 2.9.7 (2021.3.31f1), 3.0.0-pre.9 (2022.3.10f1, 2023.1.16f1, 2023.2.0b13, 2023.3.0a9)
Not reproducible with: 2.9.0-pre.1 (2021.3.31f1)
Reproduced on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested
Note: the “Near Clip Plane” value can be changed in the “Debug” Inspector mode to lower than 0.01, but after coming back to the “Normal” Inspector mode, the values are still 0.01
-
schema_unity
Feb 05, 2024 19:18
>RESOLUTION NOTE:
>The Unity Camera's near clip lower bound is 0.01. CM was updated to match it.This is not the case for HDRP. You can add a component to your virtual camera that forces the near plane to values lower than 0.01 in the update. These values are actually reflected in the camera, as a quick look at the depth buffer shows.
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
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Resolution Note:
The Unity Camera's near clip lower bound is 0.01. CM was updated to match it.