Search Issue Tracker
Fixed in 2.6.0-preview.7
Votes
0
Found in [Package]
2.6.0-preview.2
Issue ID
1234966
Regression
No
[Cinemachine] 2D Camera flies away from the target when hitting a confiner which has its Transform Scale value set to not 1
How to reproduce:
1. Open the attached project named "Case_1234966"
2. Open the Confiners Scene
3. Check if the virtual camera "CM vcam_Confiner2D_scaled" is active
4. Enter Play mode
5. Using the arrow keys, move the capsule in any direction
6. Observe the Game view
Expected result: Camera stops when it hits the side of the Confiner
Actual result: Camera flies away from the target as soon as it hits the side of the Confiner
Reproducible with: 2018.4.22f1, 2019.3.11f1, 2020.1.0b7, 2020.2.0a9
Reproducible with package versions: 2.2.0, 2.5.0, 2.6.0-preview.2
Notes:
-3D cameras that use the same Confiner work as expected
-When confiner's size is set in the Box Collider collider settings, the camera works as expected. The issue only seems to occur when confiner is scaled using the Transform component
-Large Transform Scale values will cause the camera to fly further away from the target object
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
- [Android] [Vulkan] UI that is activated after a delay flickers when a Scriptable Render Pass goes over it
- [Linux] Characters are converted to Latin letters when using IME on Linux
- [Ubuntu] Possible for Create menu to show sections with no options inside
- [Usability] Not possible to set Editor Window text colour to be default black without workaround
- Text field max length is -1 by default
Resolution Note (fix version 2.6.0-preview.7):
Fixed in Cinemachine 2.6.0 which is available in 2018.4/2019.4/2020.1/2020.2