Unity 6 Native Android Debugs and how to hide them?

Hello everyone, I got a weird problem, while debugging my android app I saw that as soon as I upgraded to Unity 6 the horrible debugs started appearing.

They are horrible because they track every single action PER FRAME, so the game knows what’s happening and it’s “cool” but I want to hide them, they are making noise while I want to read other logs.

Here are some examples:
03-14 17:10:06.348 7649 7744 I Unity : Handle cmd APP_CMD_START(11)
03-14 17:10:06.356 7649 7744 I Unity : Handle cmd APP_CMD_RESUME(12)
03-14 17:10:06.369 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)
03-14 17:10:06.380 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)
03-14 17:10:06.381 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)
03-14 17:10:06.381 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)
03-14 17:10:06.381 7649 7744 I Unity : Handle cmd APP_CMD_CONTENT_RECT_CHANGED(5)
03-14 17:10:06.386 7649 7744 I Unity : Handle cmd APP_CMD_INIT_WINDOW(1)

03-14 17:10:06.817 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_RESIZED(3)
03-14 17:10:06.818 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_REDRAW_NEEDED(4)
03-14 17:10:06.818 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)
03-14 17:10:06.818 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)
03-14 17:10:06.818 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)
03-14 17:10:06.818 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)
03-14 17:10:06.818 7649 7744 I Unity : Handle cmd APP_CMD_GAINED_FOCUS(7)
03-14 17:10:06.818 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)
03-14 17:10:06.818 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_RESIZED(3)
03-14 17:10:06.818 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_REDRAW_NEEDED(4)
03-14 17:10:06.818 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)
03-14 17:10:06.818 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)
03-14 17:10:06.819 7649 7744 I Unity : Handle cmd APP_CMD_CONTENT_RECT_CHANGED(5)
03-14 17:10:06.819 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)
03-14 17:10:06.819 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)
03-14 17:10:06.819 7649 7744 I Unity : Handle cmd APP_CMD_WINDOW_INSETS_CHANGED(17)

//Whenever I touch the screen (and does 1 every frame)
03-14 17:10:17.879 7649 7744 I Unity : Handle cmd APP_CMD_TOUCH_EVENT(20)
03-14 17:10:17.879 7649 7744 I Unity : Handle cmd APP_CMD_TOUCH_EVENT(20)
03-14 17:10:19.751 7649 7744 I Unity : Handle cmd APP_CMD_TOUCH_EVENT(20)
03-14 17:10:19.851 7649 7744 I Unity : Handle cmd APP_CMD_TOUCH_EVENT(20)
03-14 17:10:22.858 7649 7744 I Unity : Handle cmd APP_CMD_TOUCH_EVENT(20)
03-14 17:10:22.962 7649 7744 I Unity : Handle cmd APP_CMD_TOUCH_EVENT(20)
03-14 17:10:23.495 7649 7744 I Unity : Handle cmd APP_CMD_TOUCH_EVENT(20)
03-14 17:10:23.565 7649 7744 I Unity : Handle cmd APP_CMD_TOUCH_EVENT(20)

03-14 17:12:37.551 7649 7744 I Unity : Handle cmd APP_CMD_TERM_WINDOW(2)
03-14 17:12:37.581 7649 7744 I Unity : Handle cmd APP_CMD_STOP(15)
03-14 17:12:37.583 7649 7744 I Unity : Handle cmd APP_CMD_SAVE_STATE(13)
03-14 17:12:37.616 7649 7744 I Unity : Handle cmd APP_CMD_LOW_MEMORY(10)
03-14 17:12:37.617 7649 7744 I Unity : Handle cmd APP_CMD_LOST_FOCUS(8)

So, any way to hide only those logs? I don’t want to lose all the logs or all the “Information” logs since I actually need them from time to time

Those log messages ya keep seein —like Handle cmd APP_CMD_—are just internal Unity logs. They’re tellin ya aboot different app commands and events, but honestly, they just clutter up the console when ya tryin’ to debug summat important. If ya wanna get rid of em without losin the useful logs, ya can use Unity’s Android Logcat Package, it lets ya filter logs by priority, tags, or even specific words, so ya don’t have to wade through a load of noise just to find what ya need.

Just get it from Package Manager

Once it’s installed, open it from Window > Analysis > Android Logcat.
Plug in ya Android device, and you’ll see all its logs pop up.
Use the filter options to hide all the annoying junk.
If ya wanna get rid of logs startin with “Handle cmd”, just set up a filter to exclude em.
That’s it—now ya only see the logs ya actually care about.
For more details, ya can check Unity’s official docs, but this should be all ya need to keep ya console clean. Sorted!

I just ran into these spam of logs after updating to Unity 6000.0.49f1, turns out they’re caused by using “GameActivity” as the Application Entry Point (Set in Player Settings > Other Settings > Application Entry Point)

Not sure why all these logs have been left in or if GameActivity is just still in early testing phase? For now I guess I’ll avoid using GameActivity until they’re cleaned up :confused:

Hi!
This has been fixed in 6000.0.51f1. It should be available to download end of this week.

If you still can reproduce it, do submit a bug report by going “Help → Report a bug” in the Editor!

Thanks a lot, I thought no one cared :slight_smile: