Skip to main content
New Participant
July 22, 2020

Help! Can't debug on Oculus Quest

Hi, I have spent the past couple of hours trying to configure my quest to play around with VR development. I am following a tutorial by valem on youtube and when I try to build and run in unity I get this error message. I know for a fact that I have USB debugging on, and I have been prompted to allow my pc to view the occulus files, but nothing happens. I am wondering about something though. I lost my Oculus charger when I went on vacation back in November and am using a general usb to usb-c type charger instead of the oculus brand one. Could this maybe be the reason? I have seen other people with this issue but there solutions have not solved it for me.

Any help is appreciated! :smile:  
This topic has been closed for replies.

1 reply

New Participant
July 22, 2020
Here are some of the errors I had

 File C:\...\...\.android\repositories.cfg could not be loaded.
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()


UnityException: Make sure USB debugging has been enabled and that the device has authorized this computer.
Check your device, in most cases there should be a small icon in the status bar telling you if the USB connection is up.
If you are sure that the device is attached then it might be USB driver issue, for details please check 'Android environment setup' section in Unity manual.
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Build completed with a result of 'Failed' in 6 seconds (5642 ms)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in <fd8fd784002f49beab0500d3a24213b9>:0 
  at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <fd8fd784002f49beab0500d3a24213b9>:0 
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()