Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Bug Can't change order of SDK in 2021 unity version

Discussion in 'VR' started by GasparMr6, Sep 11, 2022.

  1. GasparMr6

    GasparMr6

    Joined:
    Apr 5, 2021
    Posts:
    10
    Hello,

    In previous versions of Unity, we could change the order of VR SDK from the Interface in Player Settings.
    Now, there is a new window for that (XR Plugin Management) and I can´t change this order (just check or uncheck the SDKs).

    (You can see the image attached)

    Could you tell me how can I change this order now?

    Thank you
     

    Attached Files:

  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    2,046
    This has been away for a long time.
    If you want this, simply code it (disable Initialize vr on startup and enable it in order when applicable).
    Or use OpenXR and don't care about what headsets or runtimes are used :p
     
  3. GasparMr6

    GasparMr6

    Joined:
    Apr 5, 2021
    Posts:
    10
    Hello @DevDunk, thank you very much for the answer.
    I need to use the first solution you gave (I am not allowed to use OpenXR).
    However, I am a beginner so I really don't know how to code it. Could you please tell me how deeply?
    I mean, I guess that I have to create a GameObject and add it a script. Then add the code in the Start() function, right? But which lines of code?
    I'm really sorry if this is a silly question! And again, thank you very much!