Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Compile error in Verified package [Cinemachine]

Discussion in '2020.1 Beta' started by Hyp-X, Jul 10, 2020.

  1. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    421
    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:
    Code (CSharp):
    1. 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
    2.  
    It makes me wonder how thorough is the verification process if it doesn't even include trying to compile the package...
     
  2. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    421
    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
     
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,124
    The team has a fix for this issue in the next patch.
     
    joshcamas likes this.