Search Unity

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:
    5,060
    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!