TL;DR - check your cable is a data cable. The Oculus phone app turned off Dev mode when it updated recently.
I ran into this problem initially, and again recently.
Probably the better idea to find lower version of drivers,cause they also can cause the issues.
That is a terrible suggestion for debugging rooted in ignorance and desperation.
It also can be an issue with your Windows installation
Reinstall windows? srsly.
Maybe check logs if there any errors showing there (Window->Development Tools->Output Log)
These logs look like the startup log for the editor. There are no messages in the output logs for a working or non-working config about the Oculus Quest or specific Android devices. I haven’t found any UE logs specific to the devices, but stopped looking.
The second time may have been because I plugged the HMD into a different port after I’d started the editor. That’s speculation about what happened, but a common USB issue especially around USB hubs.
POSSIBLE SOLUTIONS:
-
I got past this problem by closing UE and rebooting this hog called Windows. Plug in the Quest, wait for the drivers to “settle”, then reboot windows, and start UE.
-
Make sure you’re using a USB-C “data” cable. From memory, I think the Quest comes with a “charging cable” instead of a “data cable”. The Quest should show in File Explorer.
-
In both the working and non-working situations, the Quest came up in the File Explorer. The order in which everything is mounted may be a problem - hence why the reboot may have worked.
That’s not an engineering answer, but if you wanted to do engineering on it, MS claims Network Monitor can help debug it. I started this but didn’t have to finish.
adb devices
when my phone hasn’t granted access and UE isn’t connecting to the Quest
C:\Users\>adb devices
List of devices attached
xxxxxxx unauthorized <-- phone
Same thing after granting OS access, but before USB debugging.
After granting the phone USB debugging:
C:\Users\>adb devices
List of devices attached
xxxxxxx device <-- Phone
UE4 sees the phone, but still no Quest.
Ran this to update ADB: C:\Program Files\Epic Games\UE_4.22\Engine\Extras\AndroidWorks\Win64\CodeWorksforAndroid-1R7u1-windows.exe
Which downgraded build tools from 26.0.2 to 26.0.1. Which didn’t change anything.
- Lastly, and most frustratingly, when Oculus upgraded their stuff to version 9 two days ago, it looks like they reset the setting in the Oculus Quest App to turn on developer mode. Opening the Android App on my phone → Connect → Developer Settings → Developer mode → On.
https://developer.oculus.com/documentation/quest/latest/concepts/mobile-adb/?locale=en_US
https://developer.oculus.com/documentation/quest/latest/concepts/mobile-device-setup-quest/