Search Unity

Question [QUEST2] Shutting down and rebooting headset from inside app

Discussion in 'VR' started by PascalTheDog, Jul 14, 2022.

  1. PascalTheDog

    PascalTheDog

    Joined:
    Mar 16, 2015
    Posts:
    86
    Hey,

    I know this is somewhat unconventional, but I'd like to be able to shut down and reboot the VR headset itself (Oculus Quest 2) from inside my app builds. The idea is to do away with browsing menus or quitting the app manually. Is that possible at all? If so, how would I go about achieving this? I'm using Unity 2021.3 LTS and my headset is up to date.

    Assistance would be greatly appreciated. Cheers!
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,041
    I don't think this is possible. You can exit the app, but not the device
     
  3. PascalTheDog

    PascalTheDog

    Joined:
    Mar 16, 2015
    Posts:
    86
    Yeah, I figured access to headset power from an inside an app would be considered a security issue. Still, that would be super useful for kiosk-like setups.
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,041
    For such projects headsets such as pico neo 3 (link) might be a better fit
     
  5. digipaul

    digipaul

    Joined:
    Nov 24, 2018
    Posts:
    43
    Your app needs the reboot permission in order to do that. I don't think your app will be allowed to get it.