Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Native share freezes on Android #74

Closed
charleshan opened this issue May 4, 2020 · 0 comments
Closed

Native share freezes on Android #74

charleshan opened this issue May 4, 2020 · 0 comments

Comments

@charleshan
Copy link

charleshan commented May 4, 2020

I already found the solution but I want to document my finding here. Unity was freezing on Android after successfully sharing.

05-03 17:01:12.637 21769 21769 W Unity   : Timeout while trying to pause the Unity Engine.
05-03 17:01:12.643 21769 21769 I Unity   : windowFocusChanged: false
05-03 17:01:24.398 21769 21769 W Unity   : Timeout while trying detaching primary window.
05-03 17:01:31.239 21769 21769 I Unity   : onResume
05-03 17:01:31.295 21769 21769 I Unity   : windowFocusChanged: true

The cause was the Minify settings found in Player settings > Player > Minify > Release. I had it on Gradle. I changed to Proguard and that fixed the issue.

Note: Another thread #46 (comment) suggested to try None.

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

No branches or pull requests

2 participants