Unfortunately, CinemachineTrack was made internal in 2.2.0. This decision has since been reversed, and is public again in the current preview release 2.2.6. You can get that version from the Staging repository if you need it right away, or wait a week or two for it to become public.
You have to install the PostProcessing code manually, as it depends on another package and we didn’t want to force people to install it. It’s very easy, just do this:
After importing PostProcessingV2, CinemachinePostProcessing add extension option (in CM virtual camera) showed again. thank you !
but, not sure how to get the preview version of CM 2.2.6.(never used Unity Staging repository before) Could you send me the link or where to find. thanks again.
With a text editor edit your project’s Packages/manifest.json file and add this line: "registry": "https://staging-packages.unity.com",
immediately before the “dependencies” line. Then open Package Manager, and you will see the experimental and unpublished content in addition to full-fledged releases. Use at your own risk.
First I deleted cinemachine assets stuffs, a lots of errors pop up on Console Window. After that, on Package Manager I’ve download Cinemachine 2.2.7.
Everything works fines until I open visual studio on my script where I make use of cinemachine.
After Visual Studios finish load suddenly the import “using Cinemachine” appears underlined in red and the message “The type or namespace name `Cinemachine’ could not be found. Are you missing an assembly reference?” as DavidLieder on first post shows. And on console appears a lot of error messages … like … “Read only asset Packages/com.unity.cinemachine/Gizmos has no meta file.” “Read only asset Packages/com.unity.cinemachine/README.md has no meta file.” and “Read only asset Packages/com.unity.cinemachine/package.json has no meta file.” "ArgumentException: Value does not fall within the expected range. SyntaxTree.VisualStudio.Unity.Bridge.CompilationUnit.LanguageOf (SyntaxTree.VisualStudio.Unity.Bridge.CompilationUnit unit) SyntaxTree.VisualStudio.Unity.Bridge.CompilationUnit.CompilationUnits (System.String method) SyntaxTree.VisualStudio.Unity.Bridge.CompilationUnit.CompilationUnits () SyntaxTree.VisualStudio.Unity.Bridge.ProjectSystem.UnitySolutionBuilder…ctor () SyntaxTree.VisualStudio.Unity.Bridge.ProjectSystem.UnitySolutionBuilder.CreateSolutionFromAssetDatabase () SyntaxTree.VisualStudio.Unity.Bridge.ProjectFilesGenerator.GenerateProject () SyntaxTree.VisualStudio.Unity.Bridge.ProjectFilePostprocessor.OnPreGeneratingCSProjectFiles () System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[ ] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[ ] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[ ] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115) UnityEditor.AssetPostprocessingInternal.OnPreGeneratingCSProjectFiles () (at C:/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:194) UnityEditor.VisualStudioIntegration.SolutionSynchronizer.Sync () (at C:/buildslave/unity/build/Editor/Mono/VisualStudioIntegration/SolutionSynchronizer.cs:207) UnityEditor.SyncVS.SyncIfFirstFileOpenSinceDomainLoad () (at C:/buildslave/unity/build/Editor/Mono/SyncProject.cs:199) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) "
So on package manager I remove Cinemachine and after that I make download again and things works until I open visual studio again.
Still got this message on console but not big deal.
“Read only asset Packages/com.unity.cinemachine/Gizmos has no meta file.” “Read only asset Packages/com.unity.cinemachine/README.md has no meta file.” and “Read only asset Packages/com.unity.cinemachine/package.json has no meta file.”
When I install the SD Game Kit in my classroom (I teach high school) I get 17 errors on start up. The errors I think are from cinemachine and postprocessingv2 not being allowed to either download or install… I think I know more about the issue the packages cinemachine never loads on the computer… It’s hard to learn Unity if the program does not load properly. I am going to post some error info that I found. I know that 2 packages will not install for some reason they are:
com.unity.cinemachine@2.2.0
com.unity.postprocessing@2.0.9-preview
Upon further inspection in the Package Manager these packages have what appears to be an error that says something about a “self signed certificate in the certificate chain.”
The error I was looking at says that these packages were unable to be added to the local file system ( I assume this is why they were not written)
Here are some details that might help from the errors I’ve looked at.
here are two errors that I get in Unity that showed up today…
1 says it can’t get to the sites listed in BOLD below and the other mentions a certificate… My MIS Sonic Wall Manager the manager of the Sonic Wall checked the firewall and is passing both
Could the “SELF SIGNED CETIFICATE” be blocking something like does something need to be added to the computer’s firewall to allow these sites to be trusted??? however the firewalls (windows) are turned off…
A re-import of the project may be required to fix the issue or a manual modification of C:/Users/davisjt/AppData/Local/Temp/c6c348f268589b84da94713a81ac3d55/Packages/manifest.json file.
Error #2
An error occurred while resolving packages:
One or more packages could not be added to the local file system:
com.unity.cinemachine: self signed certificate in certificate chain
com.unity.postprocessing: self signed certificate in certificate chain
A re-import of the project may be required to fix the issue or a manual modification of C:/Users/davisjt/AppData/Local/Temp/1d20478b9e1aaff46a9311055b1dfe2f/Packages/manifest.json file.
I loaded this at my house and it worked no issues… it has to have something to do with at school and the security etc…I copied the above to directories from my computer and added them to a system at school and the 17 errors went away SO Something is preventing the 2 packages from installing at school.
OK… so any help will be appreciated.
I contacted the school technical support, they did packet tracing in the sonic wall and did not find anything being blocked. Their claim is that it is operational and working… I guess my question is where do they need to go to be able to install and launch the 2D Game Kit… as in URL and what ports need to be opened??
My project was working before but for some reason I opened it and I am getting this issue after trying to move the camera around. It also starts under the map. The menu cameras work perfectly fine but if i touch the screen to move the camera around it disconnects. I attached the error but I am at a lost of what happened.
NullReferenceException: Object reference not set to an instance of an object
Looks like there isn’t an active vcam. CM 2.2.7 doesn’t handle that well (it’s a regression, fixed in subsequent releases). You can fix it by ensuring that there is always an active vcam.
Beginner to Unity scripting, but how would you suggest making sure there is always an active camera. I have a bunch of vcams that are activated through the menu. These cameras work when I select them in the menu, but I need to also be able to move the the selected camera. When I touch the screen it deactivates all the camera and goes under my scene. It was working prior to upgrading to 2018.2.5.
So it starts up with that camera but now I have the issue if I want to move it around using a touch screen it goes back to not showing a camera and I get the error again.