Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI' does not exist in the namespace UnityEngine' #42

Open
tot411 opened this issue Feb 7, 2017 · 4 comments
Open

AI' does not exist in the namespace UnityEngine' #42

tot411 opened this issue Feb 7, 2017 · 4 comments
Labels

Comments

@tot411
Copy link

tot411 commented Feb 7, 2017

Hi Flafla2,
Thanks for sharing your solutions for the teleporter.
Unfortunately I'm having some issues with the scripts and I'm not a great coder.
When I try to drag the scripts TeleportVive and BorderRenderer into Camera(eye) the two warning messages I get are:

Assets/Vive-Teleporter/Scripts/ViveNavMesh.cs(2,19): error CS0234: The type or namespace name AI' does not exist in the namespace UnityEngine'. Are you missing an assembly reference?

Assets/Vive-Teleporter/Scripts/ViveNavMeshEditor.cs(4,19): error CS0234: The type or namespace name AI' does not exist in the namespace UnityEngine'. Are you missing an assembly reference?

Any idea what I can do about it?
Thanks for your help.

@bddckr
Copy link

bddckr commented Feb 7, 2017

@Flafla2 is using Unity 5.5.0(+). That's where Unity changed the namespace for the NavMesh stuff to UnityEngine.AI. So change the using UnityEngine.AI; directives to using UnityEngine; or update to the current Unity version yourself, too.

@tot411
Copy link
Author

tot411 commented Feb 7, 2017

Hi bddckr,
Thank you for this quick response.
I'll download the new version.

@tot411
Copy link
Author

tot411 commented Feb 8, 2017

Eveything is set now.
However, my parabolic pointer keeps going through walls and terrain, even though they have box colliders assigned. Any idea what's going on?

@Flafla2
Copy link
Owner

Flafla2 commented Feb 15, 2017

Hey all, I will fix the namespace errors in future releases with a #if UNITY_5_5.

As for your pointer going through walls / terrain, have you followed the "Getting Started" guide in the README completely?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants