I’m trying to build an apk for Oculus Go using Unity. I’ve attached a script to a Game Object which as a Debug.Log method to keep on printing a text to the console. This works fine in the unity console but when I try to debug the app through logcat in android studio, I can’t find the Debug.Log text.
Also, I’ve tried the following:
- Installing log viewer in unity which works for android phones (2D) but displays nothing in Oculus go.
If someone can help, would be very thankful
Have you tried using Monitor (from Android Tools) instead? At least you can filter Unity’s output via tag:Unity
Also, try debugging directly from Unity’s console.

Also, maybe your script contains an error which prevents the Debug.Log to be printed.
Try putting something else, like an empty GO + script → Update() → Debug.Log();
Not sure this is a good (or “clean”) idea but usually i create a simple ui text element to display my messages when coding for the rift and need to have live feedback. Kinda hard to spy on a value on the unity console while wearing a vr helmet
1 Like
There is no Debug.Log “file”, the messages are written to the standard log output. “If” adb was expected to work on Go, it would simply be “adb logcat” at the command prompt. How To - Capturing Device Logs on Android but I haven’t tested on a Go.