Microtube Docs
EN中文
Developers / Unreal / PICO setup

Unreal PICO setup

Run the same app on PICO 4 and PICO 4 Ultra.

Gloves not yet tried on PICO

The tutorial project runs on a PICO 4: it starts in passthrough and loads the Developer Demo. Gloves and hand tracking on PICO have not been confirmed yet. If you try them, tell us how it goes.

One APK for Quest and PICO

PICO runs Unreal’s own OpenXR, as Quest does, so there is no separate PICO build. Set the project up as in Project setup and package it once. The APK runs on both.

What PICO needs beyond that comes from the app’s Android manifest. Package for PICO, in Project Settings → Plugins → HexR → PICO, adds it when you package. It is on by default. These are the entries PICO’s own OpenXR SDK writes:

Manifest entryWhat it does
pvr.app.type = vrPICO starts the app as an immersive VR app
handtracking, controllerHands and controllers are both on, and the wearer can switch at any time
Hand_Tracking_HighFrequencyPICO 4 Ultra’s faster hand tracking
com.picovr.permission.HAND_TRACKINGWithout it, PICO gives the app no hand joints
enable_mr_safeguardWith passthrough on: PICO’s lighter boundary for mixed reality

Quest ignores these entries. Untick Package for PICO only if you never target PICO.

One setting differs: the minimum SDK

PICO 4 runs Android 10, so it only installs an app whose Minimum SDK Version (Project Settings → Platforms → Android) is 29 or lower. The Meta Horizon Store needs 32, which is what Validate Project suggests.

A second setting can raise the minimum SDK without saying so: the NDK API level. In Project Settings → Platforms → Android, under Project SDK Override, set NDK API Level to android-29 as well. Otherwise the editor-wide level in Project Settings → Platforms → Android SDK applies, and that may be higher.

Set up the headset

  1. Turn on developer mode

    On the headset, go to Settings → General → About and tap the software version until developer options appear. Then turn on Settings → Developer → USB Debugging.

  2. Connect it to your computer

    Plug the headset in with a USB cable and accept the Allow USB debugging prompt inside the headset.

  3. Turn on hand tracking

    Turn on hand tracking in the headset’s settings. The app works with the controllers too; put them down to use your hands.

Install the app

Package the project (Platforms → Android → Package Project) and install it as for Quest: see Put the app on the headset. On the headset, the app is not with your store apps: look in the Library’s unknown-sources filter.

Allow Bluetooth

The first time the app connects a glove, the headset asks for permission. Allow it. If it is refused, the app keeps running but never finds the glove.

HeadsetThe permission is calledRefused it? Turn it on under
PICO 4Location, with the headset’s Location switch onSettings → Apps, your app, Permissions, then restart the app
PICO 4 Ultra, and other headsets on Android 12 or laterNearby devicesSettings → Apps, your app, Permissions, then restart the app

Passthrough on PICO

Turn passthrough on as for Quest: see Passthrough on Meta Quest. PICO’s runtime offers the same OpenXR passthrough, so the plugin uses the same code and PICO needs no manifest entry for it. With passthrough on, Package for PICO also turns on PICO’s mixed reality boundary.

One thing the plugin changes on PICO by itself: it turns off OpenXR’s depth layer (xr.OpenXRAllowDepthLayer), because PICO’s runtime refuses it and the app would stop at start.

If something doesn’t work

Next

Give your pawn hands and connect the gloves: Pawn & hands setup.