Search Unity

(GearVR) Make screen black during heavy processing...

Discussion in 'AR/VR (XR) Discussion' started by Thiago-Crawford, Feb 19, 2016.

  1. Thiago-Crawford


    Jan 7, 2013

    I need to load some heavy textures from files, and that is all fine, but while this process is carried out, I really need to have a black screen for aesthetics.

    Right now, the VR app will keep tracking head movement, and this will show a flat (frozen) render of the scene until the app regains full control of itself, snapping this flat render back into the eyes (if you know what I mean).

    OVRScreenFade has failed. Switching off the cameras has failed. Placing a UI element infront of the 'eyes' has failed.


    Using coroutines and "yield return new WaitForSeconds(1.0f);" before starting the heavy processing.
    It works, but I think I am losing some processing time since I must wait before loading the heavy textures.
    Last edited: Feb 22, 2016