Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

The screen/camera freezes for a few seconds when switching scenes with the Oculus Rift

$
0
0
Not quite sure why this is happening. I have a basic scene switch code, that allows scene 1 to switch to scene 2.

Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class SceneSwitch02 : MonoBehaviour {
  5. public float waitTime = 30f;
  6.  
  7.  
  8.     // Use this for initialization
  9.     void Start () {
  10.         StartCoroutine(SwitchSceneTime());
  11.     }
  12.        
  13.     private IEnumerator SwitchSceneTime() {
  14.         yield return new WaitForSeconds (waitTime);
  15.         Application.LoadLevel (1);...
The screen/camera freezes for a few seconds when switching scenes with the Oculus Rift

Viewing all articles
Browse latest Browse all 12131

Trending Articles



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