Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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,054
    The team has a fix for this issue in the next patch.
     
    joshcamas likes this.