How can I see my debug logs on Unity Android?

aresz

I'm still new to Android development and I'm currently having difficulties trying to figure out how to debug my Unity game when I deploy it to my Android device. I need to see what is happening while the user is playing my game to make sure my code logic is flowing as expected.

I'm coming from an iOS background and in iOS, I simply have to build my Unity project and open and run it in Xcode. Xcode automatically shows a debug window where I can see my Debug.Log messages I have set in my C# scripts in Unity.

How do I do debug on the Android platform? I have tried following liortal's answer here but I can't seem to get it to work even with the following settings suggested.

I'm using Unity5 and I already have Developer options and USB debugging enabled on my Android device by the way.

Any help is greatly appreciated. Thanks.

NinjaCat

Use logcat. You'll find it at sdk\tools or sdk\platform-tools.

Then you can use it like this:

adb logcat # (start logging)
adb logcat -c # (clears the log)
adb logcat > dump.txt # (dump log info)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can I see previous logs with systemd?

From Dev

Ubuntu SDK: How can I see error logs for my ubuntu touch app?

From Dev

Ubuntu SDK: How can I see error logs for my ubuntu touch app?

From Dev

How do I debug my Unity Scope?

From Dev

Where can I print out logs to see immediately in Android Studio?

From Dev

I can not see my checkbox android

From Dev

How can I see AWS Gateway logs for external calls?

From Dev

How can I see unavailable servers in Nginx logs?

From Dev

How can I see system logs while booting up ubuntu?

From Dev

How can I debug my unity project using Visual Studio 2012?

From Dev

How can I see my password on the terminal?

From Dev

How can I debug my command controller?

From Dev

How can I debug issues with my SSD?

From Dev

How can I see Debug.Print() statements?

From Dev

Why i can not see my installed android application on my phone?

From Dev

Where can I see my log4j logs in servlet?

From Dev

Where i can see my console logs on localhost and when the function is deployed?

From Dev

How can I see the full layout in Android?

From Dev

How can I restore my Unity?

From Dev

How can I restore my Unity?

From Dev

How can I know if my android app was built in release or debug mode?

From Dev

How can I output Unity3D debug log?

From Dev

How can i persist my logs/data to local filesystem in docker

From Dev

How can i make a login form that logs me in into my webmail?

From Dev

How do I see the iptables logs in systemd

From Dev

How can I see the time of my last git pull?

From Dev

How can I see a report of my AWS Bounced emails?

From Dev

How can I see the source code of a gem installed on my machine?

From Dev

How can I see what my reactive extensions query is doing?

Related Related

  1. 1

    How can I see previous logs with systemd?

  2. 2

    Ubuntu SDK: How can I see error logs for my ubuntu touch app?

  3. 3

    Ubuntu SDK: How can I see error logs for my ubuntu touch app?

  4. 4

    How do I debug my Unity Scope?

  5. 5

    Where can I print out logs to see immediately in Android Studio?

  6. 6

    I can not see my checkbox android

  7. 7

    How can I see AWS Gateway logs for external calls?

  8. 8

    How can I see unavailable servers in Nginx logs?

  9. 9

    How can I see system logs while booting up ubuntu?

  10. 10

    How can I debug my unity project using Visual Studio 2012?

  11. 11

    How can I see my password on the terminal?

  12. 12

    How can I debug my command controller?

  13. 13

    How can I debug issues with my SSD?

  14. 14

    How can I see Debug.Print() statements?

  15. 15

    Why i can not see my installed android application on my phone?

  16. 16

    Where can I see my log4j logs in servlet?

  17. 17

    Where i can see my console logs on localhost and when the function is deployed?

  18. 18

    How can I see the full layout in Android?

  19. 19

    How can I restore my Unity?

  20. 20

    How can I restore my Unity?

  21. 21

    How can I know if my android app was built in release or debug mode?

  22. 22

    How can I output Unity3D debug log?

  23. 23

    How can i persist my logs/data to local filesystem in docker

  24. 24

    How can i make a login form that logs me in into my webmail?

  25. 25

    How do I see the iptables logs in systemd

  26. 26

    How can I see the time of my last git pull?

  27. 27

    How can I see a report of my AWS Bounced emails?

  28. 28

    How can I see the source code of a gem installed on my machine?

  29. 29

    How can I see what my reactive extensions query is doing?

HotTag

Archive