0 votes
by (430 points)
recategorized by

Hello,

I am testing a build for Pico and using adb logcat to see the logs of the application.
As soon as the app is launched there are very many big messages logged every second:
enter image description here

We have tried to set stack trace logging to None. We've also set Debug.unityLogger.logEnabled = false. However, these logs still come through, which leads us to believe that these come from your native code. I made a test to see if these logs are printed for others apps as well and this is not the case.

How can we remove these logs, as we have a feeling that these cause the performance issues we are currently having in our build.

Unity 2021.1.28f1
Pico Unity XR SDK v2.0.1

Thanks!

1 Answer

0 votes
by (55.5k points)
selected by
 
Best answer

Dear developer,

Sorry for the inconvenience.

We recommend that you use the "Android Logcat" in Package Manager of Unity, which allows you to filter the logs you want.

Based on our tests and feedback from other developers, logs won't cause the performance issues. To track performance statistics, you can use Metrics Tool to get a better view of application performance.

Hope this information helps you.

by (100 points)

I agree as well it has become very difficult to track logs

by (100 points)

On version 2.0.3 of the Unity XR SDK, we are seeing those same logs in production builds as well. I tried downgrading our project to 2.0.2 and the logs were not present in production builds, so this seems like an issue with 2.0.3?

by (55.5k points)

Dear developers,
For the problem of logs, we will communicate with the r&d team.

by (100 points)

It's been many months - any fix yet? This is literally making it impossible to store and recover logs. No one cares about this log info, there is no reason for it to be enabled by default OR enabled in production builds. This is not OK.

As for your Unity logcat solution, it also does not filter out your messages.

by (15.2k points)

Dear Developer
The latest Pico Unity XR SDK v2.0.4 has reduced some of the log information, but currently some of the log information will still be printed.

...