Skip to content
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

Timeouts when resuming Unity Activity #5

Open
brianjkd opened this issue Aug 9, 2018 · 2 comments
Open

Timeouts when resuming Unity Activity #5

brianjkd opened this issue Aug 9, 2018 · 2 comments

Comments

@brianjkd
Copy link

brianjkd commented Aug 9, 2018

I am noticing a few seconds of timeout when resuming the Unity Activity on Android. Easy to see from the logger.

W/ActivityManager: Activity pause timeout for ActivityRecord{80a2f74 u0 com.***myappname**** t39}
08-08 22:16:10.748 15212-15212/? W/Unity: Timeout while trying to pause the Unity Engine.
08-08 22:16:14.764 15212-15212/? W/Unity: Timeout while trying detaching primary window.
08-08 22:16:14.768 15212-15378/? I/Unity: Image path: 
@yasirkula
Copy link
Owner

Yes, I notice similar timeout messages in most of my native Android plugins. However, at the moment, I don't really know a way to eliminate this delay. Please let me know if you find a possible solution for this problem.

@charleshan
Copy link

My issue was with another plugin but might be related: yasirkula/UnityNativeShare#74

Try changing your Minify settings to Proguard or None.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants