Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question OpenXR compositor layers?

Discussion in 'VR' started by emrys90, Nov 13, 2021.

  1. emrys90

    emrys90

    Joined:
    Oct 14, 2013
    Posts:
    755
    Does OpenXR have support for compositor layers? I'm trying to improve our loading screen, as it has some frame stalls at the moment, and had heard that compositor layers is how it should be done so it remains smooth.
     
  2. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    The API has support for sure. However, at this time I don't believe that this is exposed out from the Unity OpenXR Provider for use.
     
  3. emrys90

    emrys90

    Joined:
    Oct 14, 2013
    Posts:
    755
    Are there any plans to add support for it?
     
  4. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    Yes, but that's about all I can say at this time.
     
  5. Rickmc3280

    Rickmc3280

    Joined:
    Jun 28, 2014
    Posts:
    192
    Any news on this? I really need it and it is hindering my ability to publish

    This is currently the only way to render high quality text graphics that I know of. Without being able to read menus in VR... whats the point?

    Yes... you can read them but the quality is crap... and people keep referring to OVR... but I dont use that and a lot of other people dont use it either.
     
    Last edited: Mar 6, 2022
  6. Mike_Icosa

    Mike_Icosa

    Joined:
    Apr 2, 2021
    Posts:
    11
    Would be great to know the status of this. Since moving away from SteamVR to OpenXR, we no longer have a desktop compatible compositor.
     
  7. smartplay

    smartplay

    Joined:
    Feb 13, 2019
    Posts:
    23
    any news about that
     
  8. virtualjay

    virtualjay

    Joined:
    Aug 4, 2020
    Posts:
    68
    Hey, one year anniversary. So... news?
     
  9. ash_at_unity3d

    ash_at_unity3d

    Unity Technologies

    Joined:
    Jan 9, 2020
    Posts:
    41
    Hey @virtualjay,

    We don't have a date just yet on when we're releasing Compositor support in OpenXR, but we ARE working on it. We're hoping to make an announcement soon once we have a firm date in-hand.

    Thanks for your patience!
     
    virtualjay likes this.
  10. virtualjay

    virtualjay

    Joined:
    Aug 4, 2020
    Posts:
    68
    Thanks for updating. It is a sticking point for us moving to full Open XR for Quest projects, as we'd lose all of our sharp text.
     
  11. Mike_Icosa

    Mike_Icosa

    Joined:
    Apr 2, 2021
    Posts:
    11
    @ash_at_unity3d Any update on this? We have an open source implementation of Oculus passthrough that just needs a way to submit OpenXR layers to finish it off.
     
  12. ash_at_unity3d

    ash_at_unity3d

    Unity Technologies

    Joined:
    Jan 9, 2020
    Posts:
    41
    Hey @Mike_Icosa - No update just yet. Hoping to have one soon.
     
    Mike_Icosa likes this.
  13. smartplay

    smartplay

    Joined:
    Feb 13, 2019
    Posts:
    23
    Am implementing quest sdk & pico sdk just to have composite layer i really wish to have it asap
     
    RMS_FHIMC and Mike_Icosa like this.
  14. Mike_Icosa

    Mike_Icosa

    Joined:
    Apr 2, 2021
    Posts:
    11
    Looks like it's planning to be shipped in 2023.2, so still a long way off sadly. (49 minute mark)
     
    Last edited: Mar 30, 2023
  15. Mike_Icosa

    Mike_Icosa

    Joined:
    Apr 2, 2021
    Posts:
    11


    Moved to the Unity 6 release.
     
  16. Tanya_Li

    Tanya_Li

    Unity Technologies

    Joined:
    Jun 29, 2020
    Posts:
    109
    Mike_Icosa and goezdemir like this.
  17. lloydsummers

    lloydsummers

    Joined:
    May 17, 2013
    Posts:
    359
    I did a test build with the OpenXR 1.11.0-exp.1, and composition layers 0.5.0 on the Quest 3.

    It doesn't have any information pertaining to this request (how to show a compositor layer between scene loading).

    I followed the instructions (creating a gameobject and setting a layer) to show a white screen and then performed a scene load. It did not set a compositor layer between the scene loads, and it just resulted in the same screen stutter / tearing. Additionally it appears to have caused other graphical issues. Doing one last test before removing it from the project.

    Not sure how this is supposed to work for the above use case.
     
    Sift3D likes this.
  18. lloydsummers

    lloydsummers

    Joined:
    May 17, 2013
    Posts:
    359
    Yeah, all this did was appear to break video playing for me. I'm going to remove it and revert down my OpenXR for now. Thank you for trying and the suggestion though!