- Home /
Question by
garrilla · Sep 07, 2019 at 03:59 PM ·
androidscene-switchingquest
Reloading Scene - Android/Quest
I'm trying to reload a scene in an Android/Quest app.
I have a button on an Oculus DebugUIBuilder isntance
DebugUIBuilder.instance.AddButton("Reload Scene", ResetScene);
which calls the ResetScene function
void ResetScene()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);
}
but triggering the button just quits the app
Any thoughts on how I might reload my scene?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612211830im_/https://answers.unity.com/themes/thub/images/avi.jpg)