Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Playing Oculus VR application built in Unity 5

$
0
0
Hello, I just got my hands on an Oculus Rift and dived into making a small sample scene in it. However when I go to play it I am not getting anything on the Rift. I looked over the documentation at http://docs.unity3d.com/Manual/VROverview.html and tried several things to go it to work but the game crashes now. the first thing I did was create a short cut to the .exe with *-vrmode oculus* at the end of the target path, that didn't do anything. Then I created this script using UnityEngine; using UnityEngine.VR; using System.Collections; public class VRCHeck : MonoBehaviour { void Start () { if (VRDevice.isPresent) { Debug.Log(VRDevice.model); VRSettings.enabled = true; Debug.Log(VRSettings.loadedDevice + " is in use"); VRSettings.showDeviceView = true; } } } In the output log I get the following **Oculus Rift DK2 Oculus in use** however it crashes after that. I have the 6.0.1 windows runtime installed, and have the Unity Integration 0.1.0 found on https://developer.oculus.com/downloads/. if anyone can provide any tips to get it running, or the right Integration kit for 4.6(every tutorial I have come across uses 4.6 and not 5) I would greatly appreciate it.

Viewing all articles
Browse latest Browse all 2383

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>