Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question Linux support with OpenXR

Discussion in 'VR' started by DevDunk, May 4, 2023.

  1. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,251
    I wondered if there is a reason OpenXR does not support Linux at all.
    SteamVR does support linux, and SteamVR supports OpenXR, so that sounds like a possibility to me
     
  2. funkydiddykong

    funkydiddykong

    Joined:
    Mar 17, 2014
    Posts:
    4
    This is definitely something I am interested in. I have to keep a Windows VM around for gamedev because of this.
     
  3. SamZ_XR

    SamZ_XR

    Unity Technologies

    Joined:
    Jan 31, 2023
    Posts:
    10
    Thanks for reaching out and bringing this issue to our attention. We're currently investigating to what's required to support building for Linux with OpenXR.

    As we continue to dig into this, it would be really helpful to know more about the specific Linux devices you're intending to build for. This information could aid us in tailoring a more accurate and beneficial solution for your particular needs.

    Could you kindly share that information, thanks in advance!
     
    DevDunk likes this.
  4. funkydiddykong

    funkydiddykong

    Joined:
    Mar 17, 2014
    Posts:
    4
    I am not DevDunk however the initial support would probably just be able to build for the standalone player for Linux desktop using SteamVR for local development using a Linux supported headset (Valve Index).

    Currently the OpenXR plugin shows the following:
    "The only standalone target supported is Windows x64 with OpenXR. Other architectures and operating systems are not supported at this time."
     
    DevDunk likes this.
  5. SamZ_XR

    SamZ_XR

    Unity Technologies

    Joined:
    Jan 31, 2023
    Posts:
    10
    Thank you so much for the detailed information! This is incredibly helpful and will help direct our implementation. We appreciate your support and the information.

    Rest assured, we'll keep this thread updated with our progress and any updates on our end. We're looking forward to sharing our advancements with the community here.

    Thank you again for your time and valuable insights!
     
    funkydiddykong and DevDunk like this.
  6. funkydiddykong

    funkydiddykong

    Joined:
    Mar 17, 2014
    Posts:
    4
    Is there some kind of timeline or priority level for this that we can expect?
     
  7. demonixis

    demonixis

    Joined:
    Aug 20, 2013
    Posts:
    185
    Hi there,
    Can we track this integration somewhere?
     
  8. funkydiddykong

    funkydiddykong

    Joined:
    Mar 17, 2014
    Posts:
    4
    Can we have an update otherwise we might have to go with an engine that works on Linux properly.
     
  9. DrMaxP

    DrMaxP

    Joined:
    Sep 18, 2018
    Posts:
    29
    Yes, what's the latest on this? Is anything in progress here? Where can we follow developments?
     
  10. UL_MattFiler

    UL_MattFiler

    Joined:
    Nov 18, 2020
    Posts:
    2
    +1 would be great to get updates on this
     
  11. FerdinandSu

    FerdinandSu

    Joined:
    Nov 2, 2022
    Posts:
    8
    Hi @SamZ_XR , are there any updates on this?
     
  12. rrmattos

    rrmattos

    Joined:
    Feb 6, 2016
    Posts:
    3
    I think they just abandoned this feature... And I really need it

    @SamZ_XR Any news?
     
  13. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,251
    Proton just added OpenXR support interestingly enough
     
  14. unity_C33D766297F677B0775E

    unity_C33D766297F677B0775E

    Joined:
    Apr 20, 2023
    Posts:
    7
    thats because photon runs on windows behind the scenes
     
  15. unity_C33D766297F677B0775E

    unity_C33D766297F677B0775E

    Joined:
    Apr 20, 2023
    Posts:
    7
    Im trying to build a gameserver to run in a container. why i cannot build in linux a dedicated server?
     
  16. unity_C33D766297F677B0775E

    unity_C33D766297F677B0775E

    Joined:
    Apr 20, 2023
    Posts:
    7
    Im trying to build gameservers for various VR applications. Part of the process was for me to build a linux dedicated server and then put that into a container image and run it on kubernetes. But when i use OpenXR it doesnt work.

    I get the following error.

    The only standalone targets supported are Windows x64 and OSX with OpenXR. Other architectures and operating systems are not supported at this time.
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&) (at /home/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:190)


    How can i continue to use linux dedicated server?????