Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
kevin_rmucan's avatar
kevin_rmucan
Honored Guest
5 years ago

Unity Oculus Quest, Visual studio intellisense doesn't recognise Oculus scripts. No errors in unity

Hi,

When I try to use classes from oculus it just underlines it red with no autocomplete or anything. It is an error in visual studio but no in unity. Why is this happening and how do I fix this?
The game runs fine but this makes it extremely difficult to code.

This is the HandsManager.cs (same problem in every other script)

2 Replies

  • I seem to recall having this same issue a few months back. IIRC, I fixed it by going to the Unity preferences and, in the external tools page, changing the scripting back to MONO, restarting Unity, then changing it back to Visual Studio. Maybe that'll work for you?