Develop
Develop
Select your platform

Use Link for App Development

Link helps you decrease your iteration time by launching the app you develop in Unity or Unreal directly from the Editor to your device when you select Play(►). This eliminates the need to build the app on PC and deploy it to a Meta Quest headset every time you test your app during development.
This topic:
  • Outlines the Meta Horizon Link developer app.
  • References resources for Link setup and basic usage.
  • Discusses useful settings and troubleshooting practices while testing your apps over Link.
Link is compatible with Meta Quest 3, Meta Quest 2, and Meta Quest Pro headsets.

Prerequisites

Limitations

  • Apps released on the Meta Horizon Store don’t have access to development/experimental features, even if the features are enabled in Link settings.
    Important: To make sure all features work as intended prior to releasing to the Store, you must check your app on device first.
  • The visual appearance and performance characteristics of an app running over Link may differ from running it on a Meta Quest headset.
  • Link causes your device to behave like a PC VR headset until the tool is explicitly turned off.
To preview your scene using Link, follow these steps:
  1. Download Link and install the app on your machine.
  2. Put on your headset.
  3. Open the Quick Settings window by selecting the clock on the left side of the menu bar.
  4. Open Settings, select System > Quest Link, and toggle Quest Link on.
  5. Select Launch Quest Link to start Link on your development machine and on your headset.
For more details on Link, see Use Link for App Development.

Configure feature settings for development

Activate OpenXR runtime

  1. In the Meta Horizon Link app, navigate to Settings > General.
  2. Next to OpenXR Runtime, select Set Meta Horizon Link as active. Once active, the option is grayed out.

Toggle developer runtime features

  1. In the Meta Horizon Link app, navigate to Settings > Developer.
  2. Ensure Developer Runtime Features option is toggled on.
Suppose that you want to test an app that uses passthrough, eye tracking, and natural face expressions.
  1. In the Meta Horizon Link app, navigate to Settings > Developer.
  2. Ensure the following options are toggled on:
    • Passthrough over Meta Horizon Link
    • Eye tracking over Meta Horizon Link
    • Natural Facial Expressions over Meta Horizon Link
    Note: The options for these features appear only after you toggle on Developer Runtime Features.
  3. After you toggle each of the features on, read the dialog box. Select Turn On if you consent.
  4. If your Unity or Unreal project is already open, restart the Editor after enabling the features over Link.

Test connection

Connect your headset using a USB-C cable, and perform the following in the Meta Horizon Link app:
  1. Select Devices and ensure your headset is showing up.
  2. Select the connected device and select Device Setup in the right menu.
  3. Select Link Cable and then select Continue.
  4. On the Connect Your Headset page, select Continue.
  5. On the Check Your Cable Connection page, select Test Connection.
  6. Ensure you get a Compatible connection message, after the test is complete.
    For color passthrough, the USB connection should provide an effective bandwidth of at least 2 Gbps.
    If this test returns an Incompatible connection message, or if the bandwidth is low, you might need to try a different USB-C cable. Use the Meta Horizon Link Cable to ensure compatibility.

Check bandwidth

You can always measure the connection speed by using the USB speed tester built into the Meta Horizon Link app:
  1. In the Meta Horizon Link app, go to Devices.
  2. Select the connected device.
  3. Select USB Test and then Test Connection.
To ensure your headset connects to Link properly, follow these steps on your headset:
  1. Go to Settings > System.
  2. Next to Quest Link, toggle on access.
As a developer, you can use Link in two modes:
  • Directly run the scene in the Unreal Editor by hitting VR Preview(►)
  • Run your project as a standalone PC app
Regardless of the mode, the app collects full tracking data from your headset.
Running your app on a PC over Link for most cases is similar to running on the headset. While running the app on a PC over Link for Play-in-Editor and standalone modes, you (as a user) see a 3D screen of the app inside your viewport of the headset. You also see the normal screen of the app on the PC screen.

Disable proximity sensor

Disabling the proximity sensor via Meta Quest Developer Hub (MQDH) is part of the standard development workflow.
  1. Connect your headset to your development machine.
  2. Open MQDH on your machine.
  3. From the left navigation bar in MQDH, select Device Manager.
  4. Select your headset from the Devices list.
  5. Under Device Actions, locate Proximity Sensor.
  6. Select the dropdown and disable the proximity sensor for two hours or longer.

Preview platforms

Unreal has the capacity to simulate platform specific rendering. You can find the feature under Settings > Preview Platform. Quest devices use the Vulkan rendering technology; however, Link supports both OpenGL and Vulkan for Link.
Preview platform
Known issue: PokeAHole material is not working with OpenGL preview. A workaround is to use a material with AlphaHoldout blend mode instead (this does not work over Opaque objects)

Solve performance issues

For additional Link troubleshooting, read Solve performance issues from graphics preferences.
Did you find this page helpful?