Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
BrandonJ's avatar
BrandonJ
Honored Guest
6 months ago

How can I run a Unity app as a background process while I play another game on the meta quest 3?

I’m trying to develop a meta quest 3 application that runs in the background so I can record controller data (IMU and button actions) while I’m playing a PCVR game like SkyrimVR.

my headset will be connected to my pc with an oculus link. 

2 Replies

Replies have been turned off for this discussion
  • h.taylor's avatar
    h.taylor
    Community Manager

    Hey Brandon! 

    Great question. Would you mind clarifying the type of controller data you're looking to collect? Is it to display inputs (i.e. in a YouTube video over recorded gameplay) or to gather them somewhere for another application to process? Based on what you've provided here, I'm wondering if Unity's Awaitable async process or looking into coroutines might be useful here. Let me know if this helps point you in the right direction or you need other options.

    -H

  • I'm not sure how to do it with a Unity app.

    But with the native C++ SDK it's pretty easy. You initialise the SDK using the ovrInit_Invisible flag which lets the app run with full access to tracking data but zero rendering so it doesn't interfere with the main VR app that's running.

    I do this in my AutoOculusTouch and OculusMonitor applications.

    For Unity, I don't know if it's possible to get ovrInit_Invisible applied on init.