cancel
Showing results for 
Search instead for 
Did you mean: 

Mobile SDK 1.0 will be required for Gear VR apps

cybereality
Grand Champion
Please read the following blog post:

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

You may discuss or ask questions in this thread. Thanks
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
47 REPLIES 47

cybereality
Grand Champion
If you update from the Unity Integration to the Unity Utilities, you'll have to first delete/remove everything Oculus related from the project. The different SDKs are not compatible and will conflict.
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

UnelloDesign
Honored Guest
I am running the latest Oculus Utilities inside Unity 5.2.3 and whenever I try to build I get this error:


Error building Player: CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.
C:\Program Files\Java\jdk1.7.0_79\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Users/Aaron/AppData/Local/Android/sdk\tools" -Dfile.encoding=UTF8 -jar "F:\Unity5.2.3\Unity\Editor\Data\PlaybackEngines\androidplayer/Tools\sdktools.jar" -


However, when I uncheck Virtual Reality Supported in Player Settings it will build successfully but when I run it on my Gear I get no head tracking and a single camera split over the two eyes.
Any ideas?

cybereality
Grand Champion
It may be that you have multiple Jar files with the same name. See this post:

http://kierenpitts.com/blog/2014/10/how ... ity-error/
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

UnelloDesign
Honored Guest
Ah it was SystemUtilities.jar left over from a previous SDK.
Thanks!

cybereality
Grand Champion
Great news!
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

eric_neuman
Honored Guest
Has anyone been able to record with ADB using the Galaxy S6? I just implemented the new Oculus Utilities (which I believe means I am now upgraded to sdk 1.0), but my videos still just turn up black or incredibly choppy when recording within the gear.

I am seriously considering abandoning Oculus and putting out this app for cardboard instead because

a) I don't have to wait indefinitely to be approved
b) screen recording just works.

Any help is appreciated!

vrh
Honored Guest
Hi there, I've built apk for Gear VR with Unity 5.3.1f1 but after running submission check I got this:
--> APK ('/Developer/X.apk') is not built with SDK version v1.0.0 (or newer)
If I understood correctly SDK 1.0.0 is included in 5.3.1. Same error is shown even after installing Oculus Utilities. Any thoughts?
Thanks in advance!

cybereality
Grand Champion
Can you try with Unity 5.3.1p2?
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

vrh
Honored Guest
Thanks for reply and suggestion, I tried 5.3.1p2 as well as p4 patch and it didn't work out :? Same error

cybereality
Grand Champion
Strange. I had someone try this and they did NOT see this error.

Are you certain you don't have an old SDK lingering inside the project?
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