Search Unity

  1. We would like to hear your feedback about Unity and our products. Click here for more information.
    Dismiss Notice

Cinemachine error

Discussion in 'Cinemachine' started by AndyNeoman, Jun 12, 2019.

  1. AndyNeoman

    AndyNeoman

    Joined:
    Sep 28, 2014
    Posts:
    833
    Hi all,

    I'm getting this error in console on loading my project. Unit 2018.3.12 latest version of package manager Cinemachine 2.2.9.

    I'm not sure if it's related but I've been getting regular crashes in unity for the past few weeks too.

    CinemachineExtension requires a Cinemachine Virtual Camera component
    UnityEngine.Debug:LogError(Object)
    Cinemachine.CinemachineExtension:ConnectToVcam(Boolean) (at Library/PackageCache/com.unity.cinemachine@2.2.9/Runtime/Core/CinemachineExtension.cs:62)
    Cinemachine.CinemachineExtension:Awake() (at Library/PackageCache/com.unity.cinemachine@2.2.9/Runtime/Core/CinemachineExtension.cs:32)

    CinemachineExtension requires a Cinemachine Virtual Camera component
    UnityEngine.Debug:LogError(Object)
    Cinemachine.CinemachineExtension:ConnectToVcam(Boolean) (at Library/PackageCache/com.unity.cinemachine@2.2.9/Runtime/Core/CinemachineExtension.cs:62)
    Cinemachine.CinemachineExtension:OnScriptReload() (at Library/PackageCache/com.unity.cinemachine@2.2.9/Runtime/Core/CinemachineExtension.cs:46)
     
  2. AndyNeoman

    AndyNeoman

    Joined:
    Sep 28, 2014
    Posts:
    833
    Tried deleting and reinstalling still the same issue. Anyone in this forum who could help?
     
  3. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    2,510
    It looks as though you have a dangling CinemachineExtension on some game object. This can happen because you added an extension to a vcam, then deleted the VirtualCamera component afterwards, but didn't delete the extension. Find the dangling CinemachineExtension and delete it.
     
    AndyNeoman likes this.