Meta Quest 2 tips&tricks
Oculus Passthrough Tutorial Overview
This tutorial guides you through the process of setting up passthrough functionality for Oculus devices in a Unity 3D project. Passthrough allows users to see real-world surroundings through the device's cameras, enhancing the mixed reality experience. Here's a breakdown of the steps:
Step 1: Begin with a New 3D Project
Start by creating a new 3D project in Unity. This will serve as the foundation for integrating Oculus passthrough features.
Step 2: Import SDK from Oculus
-
Go to the Oculus Developer Center and download the necessary SDK.
-
Open Unity and your new project.
-
Navigate to Assets > Import Package > Custom Package.
-
Locate and select the downloaded .unitypackage file, then click Import.
-
When prompted to update the Oculus Utilities plugin, click Yes to ensure compatibility.
Note: If asked to use OpenXR as the backend, click Use OpenXR. This is necessary for the Oculus XR Plugin to work with the Oculus Utilities Plugin.
-
If prompted to clean up old Interaction SDK assets, click Show Assets, then Delete Assets.
-
If prompted to update Spatializer plugins, click Upgrade, and then click Restart.
Follow the Passthrough Tutorial
Continue with the Oculus Passthrough tutorial available here. This tutorial provides detailed steps on implementing passthrough functionality in your Unity project.
Additional Resources
- For support and community discussions, refer to the Unity Forum thread.
XR Plugins Management
In Unity's XR Plugin Management, make sure to enable the Oculus checkbox under the PC platform settings. This ensures that your project integrates with Oculus devices correctly. This setting is crucial for XR functionality on Oculus platforms.
By following these steps and consulting the provided resources, you should be able to successfully set up Oculus passthrough in your Unity 3D project.
Sources:
Build VR for Quest / PC
- Tutorial Video (tutorial going through the process of building on Quest and PC)
- Circuit Stream Blog (very simple has the basics but old!)
Passthrough Quest
- Tutorial Video - Standalone (for running standalone on Quest)
- Tutorial Video
- Forum Post (Forum post pointing to the API doc)
- API Reference (api reference)
PassThrough via link
- GitHub Repository (does not currently work with OpenXR)
PassThrough Tutorials
Quest 2 OSX
- Blog - Developing for Oculus Quest 2 with MacBook Pro 16 (basics, maar niet erg informatief)