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. Dismiss Notice

Question Opening Meta menu in my app causes tracking to go wild

Discussion in 'XR Interaction Toolkit and Input' started by LuigiNicastro, Jan 16, 2023.

  1. LuigiNicastro

    LuigiNicastro

    Joined:
    Feb 7, 2018
    Posts:
    32
    I've got my app working with OpenXR and when I open the Meta (Oculus) Menu, I lose tracking and it can be nauseating. Anyone have any ideas?

     
  2. Devil_Inside

    Devil_Inside

    Joined:
    Nov 19, 2012
    Posts:
    1,117
    I remember having this kind of issue before.
    You should try setting "Run in Background" to TRUE in Project Settings -> Player -> Resolution & Presentation.
    This option for some reason is only available on the "Windows, Mac & Linux" tab of the Player Settings, but it does seem to affect the Android version as well.
    If this doesn't help, try setting Application.runInBackground = true; in script.
     
    LuigiNicastro and VRDave_Unity like this.
  3. VRDave_Unity

    VRDave_Unity

    Unity Technologies

    Joined:
    Nov 19, 2021
    Posts:
    254
    @LuigiNicastro, Devil_Inside is correct. We recently noticed that even though the Android Player settings do not have a "Run in Background" setting, popping over to the PC settings and turning this on will fix the issue. We are internally working with the Input and Android teams to figure out why this behavior is happening and how to resolve it.
     
    LuigiNicastro likes this.