Published on

Preparing environment for Oculus Quest 2 Development on Windows 10

Authors
  • avatar
    Name
    PatharaNor
    Twitter

ue5-vr-ready-to-dev

Preparing environment

Please install by following software version for compatibility:

  • Windows 10 or latest.

  • Java version 1.8.0_341 or Java SE Development Kit 8u341.

  • Unreal Engine v5.0.3 — Advanced real-time 3D creation tool, download the engine version via Epic launcher then following this instruction.

  • Android Studio v3.5.3 — IDE for Android developer, download v3.5.3 or other older-IDE version from archive.

    • After installed the IDE, open the IDE Setting(menu Tools > SDK manager) then :

      • Go to Appearance & Behavior > System Settings > Android SDK

      • Install SDK Platform & SDK Tools :

        • SDK Platform

android-sdk-manager-sdk-platform

  • SDK Tools

android-sdk-manager-sdk-tools

Unreal Engine

Project Setting

In project setting, please refer to left menu :

Project

ue5-proj-setting-map-mode

Engine

ue5-proj-setting-engine-rendering

Platforms

  • Android
    • After installed correct SDK & NDK, you should see only green bar (not red bar).
    • In "Advanced apk packaging", set :
      • index#0 to Quest2.
      • index#1 to Quest.

ue5-proj-setting-platform-android

  • Android SDK
    • Location of Android SDK (the directory usually contains 'android-sdk-') : C:/Users/YOUR_USER_NME/AppData/Local/Android/Sdk
    • Location of Android NDK (the directory usually contains 'android-ndk-') : C:/Users/simpa/AppData/Local/Android/Sdk/ndk/21.4.7075529
    • Location of JAVA (the directory usually contains 'jdk') : C:/Program Files/Java/jdk1.8.0_341
    • SDK API Level (specific version, 'latest', or 'matchndk' - see tooltip) : latest
    • NDK API Level (specific version or 'latest' - see tooltip) : android-21

Plugins

  • OculusVR
    • Set "Hand Tracking Support" based on your appliction/game controller.
      • Ex. If you allow user to use real-human's hand to grab any object, just select "Hands" option.

ue5-proj-setting-plugins-oculusvr

Plugins for VR in UE5

ue5-set-plugins

ue5-plugins-for-vr

OculusApp

oculus-home

In Devices:

  • Connect to device:
    • Wireless — using airlink, SteamVR
    • Wire — require USB3 for better performance

oculus-device

In Setting:

  • basic setup:
    • account (basic setup)
    • payment (optional)
  • General
    • unknown sources => enable
    • OpenXR runtime => set oculus as active
    • Bandwidth limit => no limit
    • Bandwidth limit while using vr => no limit
  • Beta
    • public test channel => disabled
    • developer runtime features => enable

SteamVR

Following their instruction. After installed the app and logged-in to Steam, you should see content of the application like this :

steamvr

Ready to Dev

Example

  • Blurprint :

ue5-blueprint

  • Custom your player view :

ue5-vr-view

Note

Unreal Engine v5+ already supports Lumen feature.

avatar
PatharaNor
Tech Writer