Erros to unity 2019 and unity hub

I was changing from unity 2018 to 2019. I did not had unity hub before but now it is a must. I got bunch of errors like this (too many to past them all):
/Users/macbook/Documents/GitHub/Pirate-Game/PirateGame/Library/PackageCache/com.unity.cinemachine@2.2.7/Runtime/Timeline/CinemachineShot.cs(3,19): error CS0234: The type or namespace name Timeline' does not exist in the namespace UnityEngine’. Are you missing an assembly reference?

Yes, you must upgrade CM to 2.3.3 to use it with Unity 2019

1 Like

can i do that without losing my saved data?

Yes

how? I need help, I importted from the internet

Open package Manager

4436248--405724--upload_2019-4-16_14-29-38.png

Find Cinemachine in the list:

4436248--405727--upload_2019-4-16_14-30-21.png

And upgrade to 2.3.x

Is the Package Manager only for Pro users? Can’t find it in the Community edition?

Package manager, not asset store (see images above). First delete the Cinemachine folder from your project assets. That’s important, or there will be metafile problems. Best to do this while an empty scene is open.

It is avaiable for the personal edition too. What version of Unity 2019 are you using?

I installed the latest version 2019.1.0f of Unity via the hub today. Adding a snip via attached file.

4436350--405739--Annotation 2019-04-16 204559.png

It’s possible that you are having compilation errors somewhere that are preventing the package manager UI (which is itself a package) from being loaded.

Can you try to create a brand new project with Unity 2019.1, and open the package manager there, and gradually import the packages you need? Then perhaps you can transfer the assets from your original project.

1 Like

Im facing same problem. I wish to have solution without export/import package.

Compilation errors is coming from Cinemachine so I going to try to go by your workaround. Strange that the package manager UI is depending on the project compilation errors?

Yes it’s strange, and we are working on a fix for it.

2 Likes

It doesn’t work on Windows with Package Manager UI, but on macOS it works. That might already be know to you?

Hi @Bloodberet , do you mean that after creating a new project with 2019.1.0f you don’t see the Package Manager window? Do you see any errors in the console? What about in the Project Browser, do you see Package Manager UI under Packages?

As I can see Pakage manager ain’t be showing in menu while you have errors with packages. In clean project everything is fine

This is the easy fix but I also like the one that consists in deleting the content of the “Library/Package Manager” content, quitting Unity and restarting the project. :wink:

I did this exactly, I removed it from the packet manager because I had no other way to. But the same error seems to occur. (a total of 66 errors)

You must remove this version you “imported from the internet” (where did you take it?) from your project.

You must install the Package Manager version of Cinemachine in your project.

2 Likes