Forum Discussion
Anonymous
6 years agoProper way to load next scene in unity VR
Whenever I try to load the next scene, the game stutters or freezes for 1 second. This is in Oculus Quest. This freezing for 1 second is pretty bad for the eyes in VR.
I've been using this function to go to next scene
SceneManager.LoadScene(1);
Is there a better way to load the next scene? I have 3 scenes total so far and switching between them sometimes freezes. I wonder if it is a memory issue and I need to preload my scenes into memory first.
I've been using this function to go to next scene
SceneManager.LoadScene(1);
Is there a better way to load the next scene? I have 3 scenes total so far and switching between them sometimes freezes. I wonder if it is a memory issue and I need to preload my scenes into memory first.
2 Replies
Replies have been turned off for this discussion
- AnonymousI think SceneManager.LoadSceneAsync fixed it.
- dcfreemanExplorerI tried using SceneManager.LoadSceneAsync and my app still crashes to Home. Scene switching worked fine on the Oculus Go, but lately on the Quest it does not. Even with the latest Oculus Integration 1.42, and Unity 2019.2.12f1, I am still seeing this behavior.
I have made a simple project of two scenes with nothing in them but an OVRCameraRig, a canvas and a button to change the scene and the app just crashes. Is anyone else seeing this?
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
- 1 year ago
- 2 years ago
- 2 years ago