I'm trying to change to a different scene. To test it I've just added a change scene script to an empty object that will trigger the moment the scene is loaded.
Here is the script:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LoadScene : MonoBehaviour
{
void Start () {
SceneManager.LoadSceneAsync(1);
}
}
This works perfectly fine when I run it in Unity, it instantly loads the scene I want it to. However, when I deploy it onto the Oculus Quest, absolutely nothing happens. It just stays in the current scene. I've tried using LoadScene and LoadSceneAsync but it just isn't working.
Any idea why this is?