Skip to main content
This topic has been closed for replies.

28 replies

Inspiring
October 6, 2015
Please see this page for the recommended Unity version to use (other versions may not work fully):

viewtopic.php?f=37&t=25882
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
Up and Coming
October 10, 2015
Saw that the recentering is back in, in the OVRSceneSampleController.cs.

Wouldn't it be better to use InputTracking.Recenter instead of OVRManager.display.RecenterPose?
RecenterPose also resets the rotation of your player to whatever it had at startup. Can be a bit jarring if you're facing one direction and reset to find yourself facing the opposite direction.
Participant
October 14, 2015
Hi. I have a problem with integration of Unity and Oculus DK 2. I need to point out that this is my first project using both Unity and Oculus. Anyway, I want to integrate very basic tutorial scene (only plane and cube). I have imported Oculus Utilities for Unity 5 V0.1.2.0-beta and added the OVR Camera Rig to the hierarchy, but still I have such errors:
EntryPointNotFoundException: ovrp_GetStatus2
OVRPlugin.GetStatus (Status bit) (at Assets/OVR/Scripts/OVRPlugin.cs:423)
OVRPlugin.get_hmdPresent () (at Assets/OVR/Scripts/OVRPlugin.cs:257)
OVRManager.get_isHmdPresent () (at Assets/OVR/Scripts/OVRManager.cs:120)
OVRDisplay.ConfigureEyeDesc (VRNode eye) (at Assets/OVR/Scripts/OVRDisplay.cs:180)
OVRDisplay.UpdateTextures () (at Assets/OVR/Scripts/OVRDisplay.cs:174)
OVRDisplay..ctor () (at Assets/OVR/Scripts/OVRDisplay.cs:80)
OVRManager.Awake () (at Assets/OVR/Scripts/OVRManager.cs:348)

NullReferenceException: Object reference not set to an instance of an object
OVRCameraRig.UpdateAnchors () (at Assets/OVR/Scripts/OVRCameraRig.cs:135)
OVRCameraRig.Start () (at Assets/OVR/Scripts/OVRCameraRig.cs:99)

NullReferenceException: Object reference not set to an instance of an object
OVRCameraRig.UpdateAnchors () (at Assets/OVR/Scripts/OVRCameraRig.cs:135)
OVRCameraRig.Update () (at Assets/OVR/Scripts/OVRCameraRig.cs:109)

Is this more integration package, unity or my-lack-of-knowledge problem?
My colleague said that he was working on similar project using one of previous integration packages and everything was working just fine..
Inspiring
October 14, 2015
That's strange. What version of Unity are you using? ovrp_GetStatus2 should only be called for Unity 5.1.3p3 and up. I would recommend using 5.2.1p3 specifically.
Participant
October 14, 2015
I'm using version 5.1.2f1, so maybe thats the problem... But is there any way I could download older version of utilities Because when I'm tying to do this from this website https://developer.oculus.com/history/ when 'm clicking in the download button it goes to the actual download page.
Participant
October 18, 2015
Had the same issue with Version 5.1.1f1
The check for updates in unity seems not to work properly, since I always got the up-to-date message.

But if you go once again on the unity webpage you can download the version 5.2.1f1.
With this version the OVRCameraRig works fine.
Inspiring
October 19, 2015
"czesak" wrote:
But is there any way I could download older version of utilities Because when I'm tying to do this from this website https://developer.oculus.com/history/ when 'm clicking in the download button it goes to the actual download page.

On the Downloads page, change Platform to Game Engines and the right-hand dropdown to 0.1.0 beta.
Scorched Battalion - VR Jam edition available for Gear VR and DK2 (Win/Mac/Linux) Jungle Juice Sven Co-op
October 20, 2015
cybereality, is access to the libOculusMediaSurface.so source out of the question? I would really like to disable mipmaps as I think it is exaggerating the pinch effect at the poles of my sphere...
Inspiring
October 20, 2015
That's included in our mobile SDK: https://developer.oculus.com/downloads/ ... obile_SDK/
October 20, 2015
Brilliant! Thank you! :D

Edit: If anyone is interested, that was precisely the problem. I added in a parameter to disable mipmaps and the pinching is now almost impossible to detect. Compiled .so and modified source attached.