cancel
Showing results for 
Search instead for 
Did you mean: 

5.1 p1 setup

bart42
Honored Guest
How do I setup Unity5.1 (with latest p1 patch) to develop for GearVR?

I've read about the Virtual Reality Supported setting, and the Stereoscopic Rendering (desktop only) but it's unclear to me.
I'm used to run and see the two camera's with barrel distortion(unity4.6) , but with this setup I don't see that. Do I need to add an OVR library?

I also tried installing the Unity Integration (from the SDK dir in VrSamples/Unity)

Thanks,
Bart
14 REPLIES 14

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

hexagon99
Honored Guest
So the built in support just doesn't work? It will only crash for me when opening on the Note 4, and I have followed all the mentioned steps in this forum. I have only heard of crashing for others as well, no one has confirmed that it works. cybereality is this something Unity or you guys are working on? Integrated support would make developing A LOT easier!
I am still using Unity 4 and SDK 5.1 because the performance is poor on anything higher..

hexagon99
Honored Guest
Just found the below line in the Unity patch release note, so they are working on it..

GearVR: Unity Personal Edition with 5.1 Unity VR support results in a crash. Please use the Oculus Unity Integration Plugin until this issue is resolved in a future patch.

hexagon99
Honored Guest
Patch 5.1.1p2 fixes the crashing. You can now use the native integration and it will launch with a head tracked Unity logo. However the performance is terrible. There is lots of tearing and no anti-aliasing. Is there anything I should do differently?

jkimovr
Honored Guest
If you're trying to use Unity native VR support, please use this Unity Utilities package and Unity 5.1.1p3 or above.

https://developer.oculus.com/downloads/ ... for_Unity/