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. Unity 2022.2 is now available as the latest Tech release.
    Dismiss Notice
  3. We are making some changes to the DOTS forums.
    Dismiss Notice
  4. 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

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:
    126
    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:
    126
    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:
    126
    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:
    296
    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:
    296
    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