Unity/Rift build : Video error after it plays for a few seconds?
I had videos working fine recently, but as of late I get this error after the video is playing for a few seconds: "Media Foundation : The current media has type changed for one or more streams in file : C:/Users/foler123/AppData/LocalLow/DTX/otherfolder123/ourvideo.mp4" What I gather is for some reason the media type is getting updated or changed, but since the video starts playing fine, it seems like the type should be supported. Any leads or recommended documentation would be appreciated. Thanks all! (I changed folder names for security... that's not my actual file structure :P) Unity version: 2018.2.0f2Solved1.3KViews0likes1CommentCan't lauch app in the oculus Store
Hi, we are a little team starting to develop 3D apps for the rift With Unity we created a simple first person camera app, to upload it to the alpha channel. It runs well in Unity(play button) or when clicking the .exe file. The problem is that after downloading the app in the Ocolus Store it would not work there, we get the ''please wait ...'' mesage for a split second, and then it closes. I already: - Imported Unity oculus SDK - Imported oculus integration package - Added the app ID in the Oculus Platform settings - Virtual reality support is checked in the Player Settings - Quality settings are set for the Rift - When I upload the Binary I tried : -mode VR, -vrmode oculus and nothing - Made and empty object with the entitlement code (code below ) Please if someone knows what are we missing, it would help a lot. //Code OculusPlatformEntitlementCheck using UnityEngine; using Oculus.Platform; public class OculusPlatformEntitlementCheck : MonoBehaviour { void Awake() { try { Core.AsyncInitialize(); Oculus.Platform.Entitlements.IsUserEntitledToApplication().OnComplete(GetEntitlementCallback); } catch (UnityException e) { Debug.LogError("Platform failed to initialize due to exception."); Debug.LogException(e); // Immediately quit the application. UnityEngine.Application.Quit(); } } void GetEntitlementCallback(Message msg) { if (msg.IsError) { Debug.LogError("You are NOT entitled to use this app."); UnityEngine.Application.Quit(); } else { Debug.Log("You are entitled to use this app."); } } }1.2KViews0likes4CommentsHow to recenter from Universal Menu? (using Unity5)
Hi, I'm developing a game for Oculus Home Early Access, for PC only, with Unity5. The question is: I'm using Unity, how can I recenter the app when the user press the recenter option from the Oculus Universal Menu? I have a custom button to recenter inside the game and it works, but I just don't know how to get that callback from the Universal menu in the game ¿? The game is this one (If anyone wants a key for Oculus Home just ask!) ;) http://sandin.noip.me/sbvr/index.html Thanks!Solved1.8KViews0likes5Comments