Forum Discussion
OpposableLukas
12 years agoHonored Guest
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.
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
- Tshadow05Honored GuestNot 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).
- JasonRTBondHonored GuestI 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? - cyberealityGrand ChampionAre you using the mobile SDK or the PC Unity integration? They are two different things.
You need the version from here (currently 0.4.2): https://developer.oculus.com/downloads/#sdk=mobile
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 10 months ago
- 9 months ago
- 3 years ago