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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Resolution Note (fix version 2.10.0):
Added a missing length check in 3rdPersonFollow.
Workaround until release: leave DampingFromCollision at 0.