Compile error in Verified package [Cinemachine]

Upgrading to 2020.1.0b15 came with a recommendation to upgrade to Cinemachine 2.6.0
It shows the package as [Verified]

It doesn’t compile:

Library\PackageCache\com.unity.cinemachine@2.6.0\Runtime\Behaviours\CinemachineConfiner.cs(179,13): error CS0103: The name 'm_BoundingShape2DCache' does not exist in the current context

It makes me wonder how thorough is the verification process if it doesn’t even include trying to compile the package…

Oh I looked at the code and its an #if mess up.
We have Physics 2D disabled in the project and part of the code is inside #if, part of it is outside
For now I’ll just roll back to 2.5.0

The team has a fix for this issue in the next patch.

1 Like