Search Issue Tracker
Fixed
Fixed in 2.10.0
Votes
0
Found in [Package]
2.9.7
Issue ID
CMCL-1550
Regression
No
"transform.position assign attempt for 'PlayerFollowCamera' is not valid" errors are thrown when Cinemachine "damping from" is being used
How to reproduce:
1. Open the “Sandbox.zip” project
2. Open the “Home“ scene
3. In the Hierarchy window select Player > PlayerFollow Camera and change the “damping from collision” value in the Inspector window (Body > Damping From Collision)
4. Enter play mode
5. Use WASD to walk the character into the building and around the corners to trigger the damping effect
6. Observe the Game view and the Console window
Expected results: nothing strange happens
Actual results: the game hangs for 1-2 seconds and errors are thrown in the console
Reproducible with: 2.9.7 (2021.3.34f1, 2022.3.18f1, 2023.2.7f1, 2023.3.0b4)
Couldn’t test with: 3.0.1 (2022.3.18f1, because of compiler errors)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- Also reproducible in Player
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
- Frame Debugger's Hierarchy is not navigable when connecting it to the project built with the Volumetric Fog
- The number of SetPass Calls is increasing when attaching the Frame Debugger to the Player
- Scrollbar briefly appears in the Package Manager during installation process even when the package list is too short to require scrolling
- Script resets to use the previous Skybox color when saving the Scene changes
- [2D] Sprite Library Editor window throws NullReferenceException error when entering Play Mode with Game View maximised
Resolution Note (fix version 2.10.0):
Added a missing length check in 3rdPersonFollow.
Workaround until release: leave DampingFromCollision at 0.