Forum Discussion

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

Can't Build Android

When trying to build to Android in Unity 4.6f3 I get the following error:

Assets/OVR/Scripts/OVRManager.cs(362,17): error CS0103: The name `OVRTouchpad' does not exist in the current context

I'm using the Unity plugin provided which is 0.4.3.1 and my sdk version is 0.4.3. This has occurred on both Mac and PC.

3 Replies

Replies have been turned off for this discussion
  • Not sure if this is what is happening to you, but if you are using the mobile SDK you will need Unity Android Pro. I kept getting strange results until I upgraded (Getting the Unity Pro trial will give you android pro for 30 days).
  • I ran into this same problem with the current PC/Mac SDK (0.4.4) in Unity 4.6. It makes reference to OVRTouchpad under some Android preprocessor block, but this does NOT exist in that SDK, so it fails to compile the project under Android. Presumably OVRTouchpad is part of the mobile SDK?

    For clarity: I am using Oculus on the PC but have a non-Oculus version running on mobile.


    How does one report a bug in the SDK like this?