I have been working on an issue for several days with no luck and progress. I have a game that runs smoothly on Android and Editor but when launching on iOS , the app freezes and hangs (stops animations and stops responding to input) most of the times.
I am using these packages:
Fabric & Crashlytics
Yandex AppMetrica
I have also attached logs from two bad sessions.
I am using IL2CPP as scripting backend for both Android and iOS.
Unity Version: 5.6.6f2
Api Compability: .Net 2.0 Subset
Test Device: iPhone 5s
in that log3, theres messages like:
Daily Award req: The Internet connection appears to be offline
Failed to get server address:The Internet connection appears to be offline
so maybe it tries to connect somewhere and main thread hangs during that time…?
I found out that the music does not stop. Also the socket thread which is pinging the server is still functioning after the application freezes. So I guess it’s a forever loop in the main thread. I wonder why this does not happen in Android !