Skip to main content
Participant
December 21, 2015

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?
    This topic has been closed for replies.

    6 replies

    Inspiring
    December 21, 2015
    You'll need to be using Unity 5.2.2p4 or newer and the Utilities and you should be fine.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    HKSpadezAuthor
    Participant
    December 21, 2015
    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!
    Inspiring
    December 21, 2015
    Yes, if you are using Unity 5, then all you need is the Utilities.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Participant
    January 13, 2016
    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!
    Inspiring
    January 13, 2016
    The mobile SDK is for Unity 4. If you are using Unity 5 then use just the Utilities.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Participant
    January 14, 2016
    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!