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.
  2. Dismiss Notice

Bug Cinemachine Brain component disabled / missing

Discussion in 'Cinemachine' started by joseph114591452, Jun 15, 2023.

  1. joseph114591452

    joseph114591452

    Joined:
    Mar 14, 2020
    Posts:
    24
    Unity version: 2022.3.0
    OS: Windows 10
    Cinemachine: 2.9.7

    I've just noticed the CinemachineBrain component is unavailable from the inspector window and the one in the scene is missing or disabled.
    However the source file still exists:
    `.\Library\PackageCache\com.unity.cinemachine@2.9.7\Runtime\Behaviours\CinemachineBrain.cs`

    upload_2023-6-14_22-46-43.png

    upload_2023-6-14_22-46-49.png

    Anyone know why this occurred?
     
  2. joseph114591452

    joseph114591452

    Joined:
    Mar 14, 2020
    Posts:
    24
    Ok I downgraded to Cinemachine 2.9.5 and it fixed the issue.
    I downgraded by updating "Packages/manifest.json"
     
  3. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,224
    It's possible that there was a corruption in your Library. If this happens again, try deleting the Library folder then re-opening the project.
     
    plan-systems likes this.
  4. og0

    og0

    Joined:
    Jun 13, 2013
    Posts:
    4
    I just got the same problem with same versions of Unity and Cinemachine.

    Edit: and i confirm it works again with Cinemachine 2.9.5
     
  5. syjgin

    syjgin

    Joined:
    Feb 13, 2015
    Posts:
    136
    Same error. FIxed after removing Library folder & reopening project