- Home /
'Camera' does not contain a definition for 'current' - 96 errors of 3D Game Kit, Cinemashine and TextMesh Pro.
I have a problem with 3D Game Kit, Cinemashine and TextMesh Pro packages. Unity shows me 96 compiller errors, such as:
Assets/3DGamekit/Scripts/Effects/CaptureDepthTexture.cs(54,22): error CS1061: Type 'Camera' does not contain a definition for 'cullingMask' and no extension method 'cullingMask' of type 'Camera' could be found. Are you missing an assembly reference?
Assets/3DGamekit/Scripts/Effects/MirrorReflection.cs(50,33): error CS0117: 'Camera' does not contain a definition for 'current'
Assets/TextMesh Pro/Examples & Extras/Scripts/CameraController.cs(202,38): error CS0117: 'Camera' does not contain a definition for 'main'
Assets/Cinemachine/Base/Runtime/Core/LensSettings.cs(75,52): error CS1061: Type 'Camera' does not contain a definition for 'orthographicSize' and no extension method 'orthographicSize' of type 'Camera' could be found. Are you missing an assembly reference?
I use Unity 2018.1.0f2.
My question is: what happened? I cannot run my game in editor because of those errors.
Your answer
Follow this Question
Related Questions
Calling method via reflection on parent asset inside PropertyDrawer 1 Answer
How to optimize the assets for the android platform? 0 Answers
Cleaning unused assets before building 0 Answers
how do i add downloaded scripts 1 Answer
Moving entire object (with it's scripts and triggers) into a different project. 2 Answers