Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Question How to get rid off really annoying "Use XR Plug-in" popup

Discussion in '2020.1 Beta' started by StephanieRowlinson, Jul 16, 2020.

  1. StephanieRowlinson

    StephanieRowlinson

    Joined:
    Jul 23, 2014
    Posts:
    137
    I've already installed the new package and unchecked "initialise XR on startup" in the settings, but I still get this popup. Is there anyway to suppress it? I get twice during startup and every time I'm doing something with packages.

    I upgraded to try out the new UI Toolkit and have plans to ask my colleague to look at our XR code and migrate that for a while yet.

    upload_2020-7-16_12-35-55.png
     
  2. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    Make sure you disable all VR from Player Settings-> XR Settigns.
     
  3. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    And make sure that you remove all providers from every platform that you have added in Player Settings-> XR Settings.
     
  4. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    Sorry, didn't realize this was 2020.1... Have you selected "Ok" each time this pops up? And which version of 2020.1 are you using?
     
  5. StephanieRowlinson

    StephanieRowlinson

    Joined:
    Jul 23, 2014
    Posts:
    137
    Latest beta version installed from Hub, 2020.1.0b16.

    I have been clicking Ok each time yeah.
     
  6. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    Can you file a bug with your project attached and post the id here?
     
  7. StephanieRowlinson

    StephanieRowlinson

    Joined:
    Jul 23, 2014
    Posts:
    137
    Done.

    Case number: 1264719
     
    LeonhardP likes this.
  8. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    Thank you.
     
  9. joejo

    joejo

    Unity Technologies

    Joined:
    May 26, 2016
    Posts:
    958
    Root issue here is that the SteamVR asset is causing legacy VR to be enabled on almost every Update call. Specifically SteamVR_Settings.cs, lines 145-149. Commenting those lines out stops the issue from happening.

    Please file a bug with Valve in their appropriate support location for this asset.
     
    StephanieRowlinson and Peter77 like this.
  10. PatHightree

    PatHightree

    Joined:
    Aug 18, 2009
    Posts:
    297
    Hi, colleague of Stephanie here,
    commenting out those (and some simillar) lines didn't stop the popups.
    I suspect that having an old SteamVR plugin (1.2.3) + VRTK (3.3) in the code is a bit too much legacy for U2020 to deal with.
     
  11. PatHightree

    PatHightree

    Joined:
    Aug 18, 2009
    Posts:
    297
    Indeed, no more popup after deleting VRTK and updating the SteamVR plugin to 2.6.1.
     
  12. ArchVisual

    ArchVisual

    Joined:
    Jun 24, 2013
    Posts:
    8
    Since you wrote this, the steam vr code has been updated and pointing to line 145-149 doesnt help much.
    would you mind being specific which lines are you commenting out?

    2019/SteamVR2.7.3

    Thank you!
     
    Last edited: Feb 26, 2022