Forum Discussion

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

Unity 5.3.3p1 with ovr_sdk_mobile_1.0.0.1 not working

Hello Guys,

I am very new to Gear VR with unity. Started my work today. I will give you the details of what I have done.

1. I have created a new project in Unity 5.3.3p1
2. Imported \OVR_Mobile_Sdk_1.0.0.1\VrSamples\Unity\SDKExamples\SDKExamples.unitypackage from my local folder
   where i downloaded the file
3. Replaced the project settings folder with the ProjectSettings folder from the Oculus Mobile SDK directory
4. Imported the Workshop.unitypackage file from the GearVR_Workshop demo files directory

After just importing I am getting the following error in Unity editor console window.

error CS1029: #error: 'Oculus Utilities require Unity 4.6.'

I have no clue what can be done. Please help me and guide me to solve the problem.

Regards,
Sovan

5 Replies

Replies have been turned off for this discussion
  • vrdaveb's avatar
    vrdaveb
    Oculus Staff
    It sounds like you are trying to use the Unity 4 integration with Unity 5. Please use https://developer.oculus.com/downloads/game-engines/1.3.0/Oculus_Utilities_for_Unity_5/. They work for PC and mobile.
  • Thanks @vrdaveb 

    I have imported the Oculus utilities for Unity 5. Do I still need to import the mobile sdk v 1.0.0.1 ? 

    If yes I have one more problem.
    There is no unityintegration.unitypackage file in that sdk folder.

    Thanks,
    Waiting for your answer.
  • vrdaveb's avatar
    vrdaveb
    Oculus Staff
    Do I still need to import the mobile sdk v 1.0.0.1 ? 

    No, Unity has built-in support for mobile SDK v1.0. Simply using the Utilities should fix the issue. You may want to grab OVRPlugin 1.3.0 to get some additional bugfixes and features. See https://developer.oculus.com/downloads/game-engines/1.3.0/OVRPlugin_for_Unity_5/