When I try to add a cinemachine gameobject the list of different types of camera are not the same in my list and the Cinemachine camera that Rick selects is not available .
I am experienced programmer but very very new to unity.
Any help would be great.
Sorry to spam … I just got this answer from chatGPT about what to do for CineMachine package version 2.10.3.
Still seems a little strange to me that Cinemachine 3.1.1 comes after 2.10.3
ChatGPT suggestion
Cinemachine 2.x vs. 3.x Overview
Cinemachine 2.x:
Uses Cinemachine Virtual Cameras (VCams) , which work in conjunction with Unity’s standard Camera component.
You add a Cinemachine Brain component to the main Unity Camera, which manages transitions and blends between virtual cameras.
Cinemachine 3.x:
Introduced Cinemachine Cameras , where each camera setup is now a standalone Cinemachine Camera (no longer “virtual”).
It offers a more streamlined setup, combining what was previously separate in Cinemachine 2.x.
Adding a Cinemachine Camera in Cinemachine 2.10.3
Here’s how to add a camera setup in Cinemachine 2.10.3 :
Step 1: Add Cinemachine to Your Scene
Main Camera Setup:
Make sure your scene has a Main Camera .
Select the Main Camera and add a Cinemachine Brain component.
Cinemachine Virtual Camera:
In the Unity Editor, go to the top menu and click: GameObject > Cinemachine > Create Virtual Camera .
This will create a new GameObject with a Cinemachine Virtual Camera component attached.
Step 2: Configure the Virtual Camera
Select the new Virtual Camera GameObject.
In the Inspector , set the following:
Look At : Drag the GameObject you want the camera to focus on.
Follow : Drag the GameObject you want the camera to follow.
Adjust settings like Lens , Body , and Aim for desired behavior.
Step 3: Test the Setup
Run your game, and the Cinemachine Brain will handle the camera behavior and transitions based on the active Virtual Camera.
What to Use in Cinemachine 3.x (3.1.1)
In Cinemachine 3.1.1 , you would typically add a “Cinemachine Camera,” which replaces the older Virtual Camera. However, since you’re using 2.10.3, you’ll rely on the Virtual Camera system, as described above.
If you’re planning to update to Cinemachine 3.x , you can transition later, but the setup process will differ. For now, sticking with Virtual Cameras is the correct approach.
If you’re unsure about specific features (like a dolly track or multiple camera blending), let me know, and I’ll help set it up!
In which course and lecture are you? Depending on the course, it might be that you have to use either Cinemachine 2.x or 3.x. In the “Complete Unity 2D” and “Complete Unity 3D” courses, you can achieve the same result with both versions but it can be a bit challenging because some concepts changed.
Which version you get by default depends on the version of Unity you started with. In Unity 6000, the Package Manager will install 3.1.x by default. I believe this is true for the latest versions of Unity 2023. Since Cinemachine 3 is considered a “breaking” upgrade from Cinemachine 2, the team has continued to work on and create updates for the Cinemachine 2.x workflow, both for users who want to use it in Unity 6000 and to continue patching any issues that may arise in older versions of Unity. This is why you see a date mismatch.
If you’re not seeing Cinemachine 3.x in your Package Manager’s available versions, then you’re likely using an older version of Unity than the one in the lesson. You might consider upgrading your project to the same version that Rick is using in the course video and then upgrading the Cinemachine package in the Package Manager.
Hi Brian,
Many thanks for the reply.
I am very new to Unity so my definite statements should be understood with that in mind.
I will get info to you , but as far as I can see I created with the very latest version of unity and the latest unity editor
I have a project called ObsDodg2 whose editor version I see (in Unity hub) is 6000.0.26f1
(Maybe I should try to use exactly the same version as Rick does in the tutorial)
I have now removed the Cinemachine package using Package manager .
When I search for the Cinemachine in the package manager window I only see version 2.10.3. from November 7 2024 available in the list of available packages.
Rick uses 3.x in this course. See, for example, lecture “Introducing Cinemachine” (currently 2.8 on our platform). Is there any reason why you need/want to use version 2.x?
hi Nina,
No I dont want to use 2.x, I want to use the same as Rick or later ,
But the 2.10.3 is all that’s offered to Its all that is offered to me when I try to install the Cinemachine package from the 6000. unity editor
Firstly, here are the names for the Cinemachine package:
You want to install com.unity.cinemachine@3.1. That’s the name you need for the following. Copy it from the website in case I made a typo.
Secondly, try to download it by name. If that didn’t work, try to install it from a git URL.
And if that didn’t work either, close Unity. Then look for the manifest.json in your Assets folder. Open it. Then take a look at Rick’s file. Copy the line with Cinemachine, and paste it into your file. Rename 3.1.1 to 3.1.2. Save the file, launch Unity, then open your project. Theoretically, Unity should install the missing package.