I'm looking for a way to detect the name of the headset being used in my VR app. I need to distinguish between the Quest 1 & 2 in order to implement the different controller mappings. Methods like XRDevice.model or OVRPlugin.productName don't provide any name lists in the documentation and since the quest 2 is a new model I haven't found information on it anywhere. Any help would be appreciated.
Detect Oculus Quest 1 & 2 Headsets in Unity
2.5k Views Asked by unitydeveloper123 At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
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?
If you are running on the Quest 2 directly (as opposed to Oculus Link) you can use
They haven't added Oculus Quest 2 to the SystemHeadset enum yet, but it has a "Placeholder_9" in its place. I just prefer the "+1" for clarity.
If you are using the link, it will return Oculus_Link_Quest for Quest 1 and I assume (Oculus_Link_Quest+1) for Quest 2. But I haven't confirmed that.
Edit: As of 2020-12-06, both Quest1 and Quest2 return "Oculus_Link_Quest" if you're using Oculus Link.