-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High ANR rates on Android #77216
Comments
Bump! Godot 3.5.3
|
Note that our ANR rate is also high and it was made worse by this: Note that I was able to lower ANRs by reducing the load time on the initial scene load. I did this by loading a very small splash scene first and ensuring very little is loaded during the first frame of execution. The large scene (main ui scene) is loaded via ResourceLoaderInteractive while the splash scene is displaying. I just added #76981 and will see if it improves our ANR rate |
Note that your ANR is different than the one I had... You might want to see if you can optimize that hang in texture decompression. If not I'm considering perhaps removing the object wait in the godot activitie's onPause. It's a bold move, technically incorrect, but might help. |
@jknightdoeswork We had also tried #76400 and then reverted it because it made ANRs worse. Did your #76981 fix reduce ANRs? |
Godot version
4.0.3.rc2
System information
Android, GLES3
Issue description
My game launched over 2 weeks now, and I have been getting over 3% user-perceived ANR rate on my game, despite no one reporting this issue directly. The user-perceived ANR rate on my other game which uses Godot 3 is under 0.5%, and it uses the same kind of plugins (ads, billing and play games).
After the #76399 merge I thought that the ANR rates would be reduced, but they did not change at all.
These are the 2 main ANRs:
Native method - android.os.MessageQueue.nativePollOnce Input dispatching timed out (No focused window)
org.godotengine.godot.gl.GLSurfaceView$GLThread.onPause Input dispatching timed out
Steps to reproduce
Cannot provide.
Minimal reproduction project
Cannot provide.
The text was updated successfully, but these errors were encountered: