I am using Oculus Quest 64Gb with Unity 2019.1.0f2. Environment is working with Unity's Android support. Our project uses Unity's Native XR Support with Oculus packages downloaded from Package Manager. Building and connection to the devices work. We don't use any Oculus made prefabs and the tracking system has worked well with the native one.
" UnityEngine.XR.XRDevice.model " returns wrong string after the last update.
When connected to Quest, it used to return a string as "Oculus Quest" but now it returns "Oculus Go", so there is no way (that I know of) to detect if the hardware is actually a Quest.
Okay so I got this to work after all. Not a long-term solution but to continue development work and to provide users a working solution while waiting the fix by Unity/Oculus
Recap on the bug: New update on Oculus Quest made Quest not include a <uses-feature> used for Quest so it identifies as GO. <uses-feature android:name="android.hardware.vr.headtracking" android:required="true" android:version="1"/>
1. Download the files "apktool.jar" and "fixapk".bat. Put them in same folder.
2. Drag-and-drop your .apk file to "fixapk".bat, it will decompile it, add the <uses-feature> line to it and compile back to .apk format with added "-fixed.apk" name ending.
This will remove the Android developer credentials. Next you will need to create new debug credentials for your .apk. If you have a software in an Android store (Google Play or Oculus Store for example) this might not be a good thing to do, as these credentials are packed up with the software to identify the real developer for updates. 3. Next we need to re-create the credentials, so get Uber APK Signer:
Download Uber APK Signer from here : https://github.com/patrickfav/uber-apk-signer/releases Tested same on Windows: To use APK Signer, you need to have Java 1.8 or higher and you need to go to the folder with cmd. Open commandline, and use basic "cd <folder>" commands to navigate to the folder where you downloaded Uber APK Signer.
4. Use Uber APK Signer to create new Android Certificates on your .apk through cmd while in the correct folder: