Search Unity

CinemachineCollider compile warning

Discussion in 'Cinemachine' started by Peter77, Jun 5, 2019.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618
    Doing an Android Build causes the Compiler to output the following warning:
    Code (CSharp):
    1. Library\PackageCache\com.unity.cinemachine@2.2.9\Runtime\Behaviours\CinemachineCollider.cs(174,34):
    2. warning CS0649: Field 'CinemachineCollider.VcamExtraState.debugResolutionPath' is never assigned to, and will always have its default value null
    I'm using Unity 2018.4.1f1 with ScriptingBackend=Mono, ScriptingRuntime=NET4.
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,724
    Thanks! We'll get that fixed. It's harmless.
     
    Peter77 likes this.
  3. chigolberi

    chigolberi

    Joined:
    Apr 14, 2019
    Posts:
    9
    У меня та же проблема:
    Code (CSharp):
    1. Library\PackageCache\com.unity.cinemachine@2.3.4\Runtime\Behaviours\CinemachineCollider.cs(179,34): warning CS0649: Field 'CinemachineCollider.VcamExtraState.debugResolutionPath' is never assigned to, and will always have its default value null
    Unity 2019.2.0f1 (64-bit)
    1.jpg
     
  4. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,724
    That's fixed in CM 2.3.5
     
    Peter77 and chigolberi like this.
  5. AniketPreetam

    AniketPreetam

    Joined:
    May 5, 2020
    Posts:
    1
    how to solve this problem
     
  6. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,724
    upgrade CM to latest
     
  7. coshea

    coshea

    Joined:
    Dec 20, 2012
    Posts:
    319
    Hi
    I'm using Unity 2019.4.13 and Cinemachine 2.3.4. In package manager it shows that it is up to date. However when I expand the Cinemachine menu on the left I can see newer versions. Does that mean those versions aren't available for my version of Unity, if they don't show up as an update on the bottom right button?

    Thanks
    Chris
     
  8. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,724
    It means that the other versions are not verified for your version of Unity (but they will work).