When I build my game in development mode, every native call spams debug logs as in the pictures attached.
This has been going on for a long time, and I always ignored it but lately I’m getting a lot of ANR and crash issues, so started to investigate the project throughly.
Any leads on what would cause this and how could I fix if it’s really something to be fixed.
It’s possible some library enabled that however I couldn’t find a reference to “AndroidJNIHelper.debug” anywhere in the project, even if so, should I just ignore this messages or there could be an issue underneath?
From quick look into the code something has to enable that flag for those prints to appear.
Also, that API only works in development builds. In release build that property is always false.
Currently I couldn’t attach any of these exception logs to an existing crash/ANR yet, so I don’t know if these are responsible for any problems at all, that’s actually what I want to know right now. All I know is development releases just spam these on every native call at the moment.
What if you set that property to false in your code?
It’s a global flag, so even if some plugin you use sets it to true, your code should be able to override that afterwards.