Search Issue Tracker
Fixed
Fixed in 2.9.8, 3.0.0-pre.8
Votes
0
Found in [Package]
2.9.7
3.0.0-pre.7
Issue ID
CMCL-1508
Regression
Yes
NaN input position error is flooded in Play Mode when CinemachineCollider generates a damped value
Reproduction steps:
1. Open the “NaNPosition“ project
2. Open the “Sample” scene
3. Enter Play Mode and observe the Console
Expected result: No errors
Actual result: “transform.position assign attempt for 'Main Camera' is not valid. Input position is { NaN, NaN, NaN }.” error is flooded
Reproduced in: 2.9.2 (2021.3.30f1), 2.9.7 (2022.3.8f1), 3.0.0-pre.7 (2023.1.11f1, 2023.2.0b7, 2023.3.0a2)
Not reproduced in: 2.9.1 (2021.3.30f1)
Reproduced on: MacOS 13.4.1 (Intel)
Not reproduced on: No other environment tested
Note: Not reproduced in Player
Full error:
transform.position assign attempt for 'Main Camera' is not valid. Input position is { NaN, NaN, NaN }.
UnityEngine.Transform:set_position (UnityEngine.Vector3)
Cinemachine.CinemachineBrain:PushStateToUnityCamera (Cinemachine.CameraState&) (at ./Library/PackageCache/com.unity.cinemachine@2.9.7/Runtime/Behaviours/CinemachineBrain.cs:966)
Cinemachine.CinemachineBrain:ProcessActiveCamera (single) (at ./Library/PackageCache/com.unity.cinemachine@2.9.7/Runtime/Behaviours/CinemachineBrain.cs:744)
Cinemachine.CinemachineBrain:ManualUpdate () (at ./Library/PackageCache/com.unity.cinemachine@2.9.7/Runtime/Behaviours/CinemachineBrain.cs:447)
Cinemachine.CinemachineBrain:LateUpdate () (at ./Library/PackageCache/com.unity.cinemachine@2.9.7/Runtime/Behaviours/CinemachineBrain.cs:402)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Add comment