OVRScreenFade FadeOut() function not working properly
Hi, I'm a college student working on their final project and would really appreciate some help! I'm trying to use the FadeOut() function in OVRScreenFade.cs, so I have a script that includes the following code: public GameObject centerEyeAnchor; public void OnEnable() { // Fades out of the current scene centerEyeAnchor.GetComponent<OVRScreenFade>().FadeOut(); // Loads the next scene according to build index UnityEngine.SceneManagement.SceneManager.LoadScene(UnityEngine.SceneManagement.SceneManager.GetActiveScene().buildIndex + 1); } My OVRCameraRig's CenterEyeAnchor has the "OVRScreenFade.cs" script attached to it, and I made sure that the CenterEyeAnchor is correctly assigned in the Inspector. However, when I activate the script, the scene doesn't fade out, but it basically just looks like the black UI pops up and only partially covers the view. It doesn't fade out and is evidently not functioning properly. Is my script incorrect? I would really appreciate any insight that people could give on how to best implement a "fade to black" transition for the Oculus Quest. Thanks in advance! - desperate college student with limited coding experience2.2KViews0likes1Comment