- Published on
Preparing environment for Oculus Quest 2 Development on Windows 10
- Authors
- Name
- PatharaNor
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
- SDK Tools
- OculusApp by Meta
- SteamVR by Valve — the ultimate destination for playing, discussing, and creating games. (optional)
Unreal Engine
Project Setting
In project setting, please refer to left menu :
Project
Engine
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
.
- index#0 to
- 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
- Location of Android SDK (the directory usually contains 'android-sdk-') :
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.
- Set "Hand Tracking Support" based on your appliction/game controller.
Plugins for VR in UE5
OculusApp
In Devices:
- Connect to device:
- Wireless — using airlink, SteamVR
- Wire — require USB3 for better performance
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 :
Ready to Dev
Example
- Blurprint :
- Custom your player view :
Note
Unreal Engine v5+ already supports
Lumen
feature.