Search Issue Tracker
Fixed
Fixed in 2.9.2, 3.0.0-pre.3
Votes
0
Found in [Package]
2.8.6
2.9.0-pre.6
3.0.0-pre.3
Issue ID
CMCL-866
Regression
No
[Cinemachine] Camera unexpectedly moves when using Cinemachine Confiner 2D
[~gaborkb]:
When backported to 2.9.X, write to this slack thread: https://unity.slack.com/archives/C0105CH72UV/p1650007646541099.
----
Reproduction steps:
1. Open the attached project and "Confiner2D sample" scene
2. Move the player by pressing A or D (touch one side of the screen, then another)
Expected result: Camera doesn't move
Actual result: Camera slightly moves when crossing the center of the screen
Reproducible with: 2.7.2, 2.8.4 (2019.4.37f1), 2.8.4 (2020.3.32f1), 2.8.4 (2021.2.0b17), 2.9.0-pre.1 (2022.1.0b14), 2.9.0-pre.6 (2022.2.0a9)
Could not test with: 2.6.0, 2.7.1 (2019.4.37f1) (no Cinemachine Confiner 2D)
Workaround:
1. Select 'CM vcam1' in the Hierarchy window
2. Disable "Cinemachine Confiner 2D" and enable "Cinemachine Confiner" in the Inspector window
Comments (2)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
unity_Mx8hvXpN_8-kog
Nov 10, 2024 14:52
But now, to reproduce it, you need to move along both axes, for example by jumping left.
unity_Mx8hvXpN_8-kog
Nov 10, 2024 14:44
Still present in 3.1.2, and 2.9.2 and 2.10.1