Hello, I have a problem with Cinemachine virtual camera. Something weird happened after upgrading the package in package manager.
Unity version: 2022.3.53f1
Cinemachine version: 2.10.3
Just for reference, I have this setup:
First of all, sometimes, when trying to add CinemachineVirtualCamera component, it just doesn’t listed in the list of components at all and sometimes it just shown with “Blank page” icon instead of “Half gear/half red triangle” icon.
Second, 100% of the time, even though the camera itself functioning as intended, the error appears in the console:
CinemachineExtension requires a Cinemachine Virtual Camera component
UnityEngine.Debug:LogError (object)
Cinemachine.CinemachineExtension:ConnectToVcam (bool) (at ./Library/PackageCache/com.unity.cinemachine@2.10.3/Runtime/Core/CinemachineExtension.cs:67)
Cinemachine.CinemachineConfiner:ConnectToVcam (bool) (at ./Library/PackageCache/com.unity.cinemachine@2.10.3/Runtime/Behaviours/CinemachineConfiner.cs:94)
Cinemachine.CinemachineExtension:OnScriptReload () (at ./Library/PackageCache/com.unity.cinemachine@2.10.3/Runtime/Core/CinemachineExtension.cs:49)
Third, I can’t override my “Cameras” prefab, because it show this:
And also this appears in the console:
The referenced script on this Behaviour (Game Object '') is missing!
Things I tried:
- Deleted cinemachine package from package manager and also deleted everything related to cinemachine in the project. Then reinstalled the package. Doesn’t really helped at all, the same things keep happening.
- “Reimport All”
- Steps described in this post:
"CinemachineExtension requires a Cinemachine Virtual Camera component" randomly appearing - #8 by antoinecharton
Also doesn’t helped at all.
Please help🥲