Skip to main content
New Participant
April 4, 2016

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

5 replies

New Participant
April 4, 2016
@cybereality can you please guide me ?
New Participant
April 4, 2016
@cybereality help me
Inspiring
April 4, 2016
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.
New Participant
April 8, 2016
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.
Inspiring
April 8, 2016
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/