Forum Discussion

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

Mobile SDK required? Is unity Utils ok

Is Oculus Utilities for Unity 5 V0.1.3.0-beta ok?

Saw the post regarding mobile SDK being required.

https://developer.oculus.com/blog/mobil ... r-vr-apps/

But I cant seem to get it to work. im getting a build error with virtualTextureScale.

I imported the SDKExamples package and then replaced the ProjectSettings in my unity project with the one found in
ovr_sdk_mobile_1.0.0.0\VrSamples\Unity\SDKExamples

is this not the correct way to set up the project?

6 Replies

Replies have been turned off for this discussion
  • You'll need to be using Unity 5.2.2p4 or newer and the Utilities and you should be fine.
  • i am currently getting the compile error off of the SDKExamples in the mobile SDK off of unity 5.3.0f

    can i ignore the mobile sdk and only use the unity utils?

    thanks!
  • Hi, I am having a similar problem.

    Importing any of the Unity VR samples from ovr_sdk_mobile_1.0.0.0 - eg. BlockSplosion, SDKExamples - gives the following error:

    Assets/OVR/Scripts/OVRManager.cs(23,43): error CS1029: #error: 'Oculus Utilities require Unity 4.6.'

    However, I am running Unity 5.3.0f4. Can you please help?

    Thanks!
  • The mobile SDK is for Unity 4. If you are using Unity 5 then use just the Utilities.
  • OK thank you for that!

    I am primarily interested in the new 360-shooter / GUI code, but Unity 4.6 will no longer run (some license issue). I had it working a month or so back .. so is there any way to use those sample assets with Unity 5?

    Thanks!