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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2.10.0):
Added a missing length check in 3rdPersonFollow.
Workaround until release: leave DampingFromCollision at 0.