Forum Discussion
cybereality
10 years agoGrand Champion
Oculus Utilities for Unity 5 0.1.2.0-beta Released
0.1.2.0-beta is out. See release note for details.
Oculus Utilities for Unity 5:
https://developer.oculus.com/downloads/ ... r_Unity_5/
Oculus Utilities for Unity 5 SDK Examples:
https://developer.oculus.com/downloads/ ... _Examples/
Oculus Utilities for Unity 5:
https://developer.oculus.com/downloads/ ... r_Unity_5/
Oculus Utilities for Unity 5 SDK Examples:
https://developer.oculus.com/downloads/ ... _Examples/
28 Replies
Replies have been turned off for this discussion
- cyberealityGrand ChampionPlease see this page for the recommended Unity version to use (other versions may not work fully):
viewtopic.php?f=37&t=25882 - ezRocketProtegeSaw 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. - czesakHonored GuestHi. 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.. - vrdavebOculus StaffThat'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.
- czesakHonored GuestI'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.
- ureineckeHonored GuestHad 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. - SvenVikingExpert Protege
"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. - AnonymousNot applicablecybereality, 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...
- vrdavebOculus StaffThat's included in our mobile SDK: https://developer.oculus.com/downloads/ ... obile_SDK/
- AnonymousNot applicableBrilliant! 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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 months ago
- 2 years ago