Can not import Vuforia unity package

I am really new with unity and am creating a AR game. When I import the unity package

vuforia-unity-android-ios-2-5-8

I get this error

Assets/Qualcomm Augmented Reality/Scripts/Internal/BGRenderingBehaviour.cs(40,31): warning CS0618: UnityEngine.GameObject.active' is obsolete: GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.’

the game will not play, and I am also unable to import it into an new empty file.
I got the Vuforia package from
https://developer.vuforia.com/resources/sdk/unity
they did say it was also available in the unity store, but I am unable to find it there.

I also get these errors

Assets/Qualcomm Augmented Reality/Scripts/Internal/BGRenderingBehaviour.cs(40,31): warning CS0618: UnityEngine.GameObject.active' is obsolete: GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.’

Assets/Qualcomm Augmented Reality/Scripts/Internal/BGRenderingBehaviour.cs(41,31): warning CS0618: UnityEngine.GameObject.SetActiveRecursively(bool)' is obsolete: gameObject.SetActiveRecursively() is obsolete. Use GameObject.SetActive(), which is now inherited by children.’

Assets/Qualcomm Augmented Reality/Scripts/Internal/QCARUnityImpl.cs(107,18): error CS0117: System.IO.File' does not contain a definition for WriteAllText’

thank you in advance!
momay

Hello momay,

Here’s an excellent tutorial on how to set up Vuforia with Unity. But, most importantly, how to set up iOS and Android properly to get your project onto them. Make sure you follow everything exactly as described. I had an issue with installing mine on my iPhone at first, but it was a provisioning profile issue that I had to make sure was installed properly.

http://www.dannygoodayle.com/2013/03/01/making-your-first-project-with-unity-and-augmented-reality/

Good luck@