Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

[Unity 2019.2] iOS build crashes 5 seconds after the application is killed by the user

$
0
0
---------- ### Description The application presents a crash 2~5 seconds after it's terminated by the user (i.e. force kill the app). This happens only on iOS builds on multiple unity versions (see details below). Most of the crashes reports are not arriving on Crashlytics. There are very few crashes on the console, even though we're consistently reproducing this error on a daily basis. The Android builds don't present the same error. ---------- ###Steps to reproduce 1. Open the game 2. Wait until the loading scene is about to finish or until the game scene is fully loaded 3. Kill the application 4. Wait 2~5 seconds and see the crash report window - Reproduction rate: 80% - Devices used to test: iPhone SE, iPhone 7, iPhone 8, iPad Mini 4 - Also observed the crash on: iPhone XS, iPhone XR ---------- ###Additional information - The issue is iOS specific. We have the same build on Android working without issues. - Crash reports are not being captured by Crashlytics on most cases (see some of the crashes below). - Crashes happen only on the final steps of the loading, where the external SDKs are being initialized. - On TestFlight, the crash count is 0 for almost all builds, including the ones the users are reporting the crashes. - Using a debug button that calls the Application.Quit() method of Unity doesn't cause the application to crash, even though it takes a while to close. - The crash seems to be invariante to OS version and iOS device. ---------- ###Technical information - Unity version: 2019.2.17f1. Also reproduced with 2019.2.0f1 and 2019.3.10f1. - External plugins are [listed here][1]. - Crash reports - [GUID.cpp line 108][2] - [libc++abi.dylib][3] - [String.h line 195][4] - [AudioToolbox][5] ---------- ###Explorations Here's a list of all solution attempts without success so far: - Remove GameAnalytics plugin - Remove IronSource plugin - Remove UnityIAP plugin - [Workaround][6] on PostProcess iOS - Set minimum OS version to 9.0 - Comment all OnApplicationPause/Quit implementations (plugins included) - Enable Bitcode [1]: https://www.notion.so/External-Plugins-list-e249761fc2ae42e69791099562d51bd2 [2]: https://www.notion.so/GUID-cpp-line-108-ece73160d4c948a3b0595a3f35bd7231 [3]: https://www.notion.so/libc-abi-dylib-24ec855a778a4c5f9967494784568435 [4]: https://www.notion.so/String-h-line-195-cad3171a0d0043cca220782c1d36410b [5]: https://www.notion.so/AudioToolbox-2a058a052995473292ab3109efb3d53d [6]: https://discuss.cocos2d-x.org/t/libc-abi-dylib-crash/48756

Viewing all articles
Browse latest Browse all 2383

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>