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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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