How would I go about setting up Unity and Oculus so I can hit Play in Unity and see the results immediately instead of building and running the game on Oculus?
How to setup a fast development workflow (plug and play) for Oculus Quest 2 with Unity
2.4k Views Asked by Aleksandar Ruseski At
1
There are 1 best solutions below
Related Questions in UNITY-GAME-ENGINE
- Using arrow keys to rotate an object
- know object behind another object is fully visible
- Unity3d AudioSource not creatable
- Unity3d - Input.GetKey returns true more than once
- Flurry Ads on Unity3D with Prime31 plugin
- Make screenshot of DirectX window that is hidden and doesn't have focus
- Coroutine being detected as inactive despite being active
- Unity3D: Adding charged force in relation to position
- Unity - Particles emitting non-random
- 3d mouse aim camera 3rd person vertical C#
- Unity: How would I go about creating a power up system?
- Unity - Gui Button issues (Android)
- Unity3d strange Collider behaviour
- Start() function doesn't work properly after Application.LoadLevel
- Gravity works weird
Related Questions in VIRTUAL-REALITY
- how to bluid unity project correctly into android device
- how to create fuse buttons using Google cardboard sdk
- Using a cursor within a Virtual Reality application to click on buttons
- position of Prefab Cardboard change on Unity play
- How to combine Cardboard VR + Vuforia AR plugin on Unity?
- How to Capture the screen of Gear VR and display on laptop or projector
- Stream youtube video for Google Cardboard - Android
- How to export a 3D design and port it so it can be seen with Google CardBoard
- Create simple Google Cardboard
- Render Android MediaCodec output on two views for VR Headset compatibility
- Unity vr develop do I need right and left camera?
- Capture a video on Gear VR for my own VR application without publishing application on Play Store
- How to get current play time of GVRVideoView
- LibGdx: calculating view matrix from projection
- Virtual Reality for all drivers
Related Questions in OCULUS
- Using a cursor within a Virtual Reality application to click on buttons
- how do I apply the stereo effect to a video mapped sphere?`
- Oculus Rift - Multi Desktop Application
- Capture a video on Gear VR for my own VR application without publishing application on Play Store
- Error: package com.oculus.vrappframework does not exist
- Unity Oculus Player Height
- WebVR - no orientation or position from PositionSensorVRDevice
- Choppy image using Oculus VR camerarig
- Unity Build for Embedded Processors
- How to capture current desktop efficiently and cross-platform in Unity3D?
- Detecting Oculus HMD in Unity
- Is it possible to render a camera view on the Oculus and another on a laptop screen?
- Understanding glTexCoord2f(), glVertex3f() in OpenGL
- Noob, Oculus Rift enabled webpage questions
- Why is a texture lookup so much slower than a direct computation?
Related Questions in OCULUSQUEST
- Unity Oculus Quest game stutters/lags when head is moved from side to side
- Oculus Meta Developer Hub Cast Error & Unreal Engine 5 VR Preview
- How to save/load scene models with the Quest 3
- ERROR: * Oculus SDK not found or older than 1.0
- Is it possible to use other hand models in OVR hand tracking?
- When I install own application in Quest 2 through SideQuest, This message shows "self-signed certificate in certificate chain" in SideQuest
- How to Spoof Graphics Card for Oculus (Meta, Quest) Software?
- Why 360 images look bigger/closer on Oculus Quest 2?
- Issues running the Unreal Engine 5.3 Spatial Anchors sample on Meta Quest 3 potentially due to AndroidFileClient
- Oculus doesn't render Gizmos Unity Android Build
- Unity/Oculus Quest (Android) Playing .ogg/.mp3 causes errors in the logcat [AndroidVideoMedia::DecodeAudio|NdkMediaCodec]
- Moving a parent object by a child object VR Oculus Unity
- Oculus grab interactions not working on imported 3D models from DB - Unity/C#
- Detect Oculus Quest 1 & 2 Headsets in Unity
- Maximum number (256) of shader global keywords exceeded, keyword Unity
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
First off, these are the essentials one needs in order to develop for Oculus Quest 2 with Unity. After completing these steps, you can, if you want, do the other ones to have the fastest possible workflow.
Unity side:
For the Oculus side:
Finaly, In Unity in Build Settings -> Run Device choose the connected Oculus device from the options and click Build & Run (make sure you have at least one scene added to Build Settings). This will build the application and push it to your Oculus (if connected via usb). When you put your headset on you will see the application load.
That's it. This is the bare minimum you need in order for you to develop VR games for Oculus. But of course if we leave it at that it's going to be really slow and tedious developing VR apps because we will have to code basic VR principles by ourselves and waste time on building and pushing the app to the device every time we want to change and test something. And so, we are going to install a few more things in order to speed up development.
That's pretty much it for the development side. If you wish to build for Oculus, you just have to go to Build Settings and in the Run Device option choose the connected Oculus Quest 2 device and click Build and Run. And of course save the scene with the XR Rig and add it to Build Settings.
Tested to work with Unity 2020.3.25f1 on ASUS TUF laptop.
Feel free to correct me on some of the steps if you hit an obstacle. Would love to have as comprehensive guide as possible.