Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Oculus Compositor / Overlay loading screen

Discussion in 'AR/VR (XR) Discussion' started by Carwashh, Oct 2, 2017.

  1. Carwashh

    Carwashh

    Joined:
    Jul 28, 2012
    Posts:
    760
    I've been search all day, but to no avail - there doesn't seem to be much info out there on what I'm looking for (for a junior level dev at least).

    I've done an VR experience for the Vive, which uses SteamVR_LoadLevel to take the user to the SteamVR compositor, with a quad to say what's happening, then loads all the scenes and then goes back to the experience when everything has finished loading.

    I now need to do this for Oculus. I'm attempting to use OVROverlay, with OVRRTOverlayconnector, using a cubemap.

    The test cubemap that I've added, gets automatically replaced by a RenderTexture at run time... which leads to continuous console errors stating 'Need Cubemap texture for cube map overlay'.

    My Google-fu is being super weak here, and I'm in need of some help, please!
     
  2. orrbain

    orrbain

    Joined:
    Aug 12, 2015
    Posts:
    20
    Did you ever find out anything on how to do this? It's crazy but there is like ZERO information out there on doing loading screens for Oculus SDK with Unity. At this point I am literally just using the OVRScreenFade script to fade to black and then fading back in, but even that doesn't seem right (since you can clearly see the different colors of black).
     
  3. Carwashh

    Carwashh

    Joined:
    Jul 28, 2012
    Posts:
    760
    HamledLLC likes this.
  4. jashan

    jashan

    Joined:
    Mar 9, 2007
    Posts:
    3,307
    I posted kind of a similar question to the Oculus forums and received some answers. What I'm currently stuck with is that there doesn't seem to be a way to let the overlays fade in and out (which is really important for a smooth user experience).
     
    Dan_G likes this.
  5. Dan_G

    Dan_G

    Joined:
    Dec 4, 2017
    Posts:
    31
    Any luck with this?
     
  6. FlightOfOne

    FlightOfOne

    Joined:
    Aug 1, 2014
    Posts:
    668
    Fast forward 4 years into the future yet we still cannot find a proper solution... Did anyone find a solution?

    This should be part of XR management/Open XR.
     
  7. Gonzorro

    Gonzorro

    Joined:
    Feb 26, 2016
    Posts:
    13
    What about this part of the future? any answer?
    couldn't manage to do it with the OVR Overlay
     
  8. FlightOfOne

    FlightOfOne

    Joined:
    Aug 1, 2014
    Posts:
    668
    I just have a have a room (game object with a camera and set to do not destroy on load ) and I activate/deactivate when loading. It is not perfect but something, lets the player know something is happening and the game isn't stuck.

    Unity moves very slow... maybe in another 3 years, maybe...

    Also, hopefully, we might see something via open xr. I am sure everyone has this issue, including other game engines.
     
    Last edited: Dec 17, 2021
    Gonzorro likes this.