Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2018.4.X, 2019.4.X, 2020.1.X

Votes

17

Found in

2017.4.0f1

2017.4.12f1

Issue ID

1087475

Regression

No

[iOS] Crash at Action_1_Invoke_m2461023210_gshared when calling Social.Active.LoadAchievements

iOS

-

To reproduce:
1. Open attached project
2. Build for iOS
3. Open Xcode project, navigate to Capabilities tab in Project Navigator window
4. Enable Game Center
5. Run the app on an iOS device
6. If the app is opened without any issues, stop the app in Xcode and run again (usually takes a couple of times)

Expected result: the app is opened
Actual result: the app crashes

Reproduced on:
2017.4.0f1 2017.4.13f1 2017.4.16f1 2018.2.18f1, 2018.4.19f1

Not reproduced on:
2018.3.0b12 and 2019.1.0a11 (opened the app through Xcode 30 times and experienced no crashes)

Device reproduced on:
iPhone XS Max, iOS 12.0
iPhone 6, iOS 12.4.2
iPad Pro, iOS 12

Opened and closed the app on iPhone X iOS 12.1, iPhone 7 Plus iOS 12.0 about 30 times and experienced no crash.

Comments (14)

  1. 72b1d71df1208abbf3cef021e9fbf4cd?d=mm

    xman800

    Apr 17, 2019 03:43

    Seeing this intermittently on Unity 2018.3.11f1 on iPhone 7 (iOS 12.2) and iPhone 8 (iOS 12.1.2 and iOS 12.2) so far.

    I believe this IS a regression, because my game had thousands of sessions using Unity 5.6.6f2 without ever reporting this crash. Then, after updating only the game engine to Unity 2018.3.11f1 and not changing the app otherwise, I got multiple crash reports within days.

    The stack trace for me looks like:

    Action_1_Invoke_mB86FC1B303E77C41ED0E94FC3592A9CF8DA571D5_gshared + 84 (il2cpp-codegen-il2cpp.h:343)
    RuntimeInvoker_FalseVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017_RuntimeObject_RuntimeObject(vo... + 24 (Il2CppInvokerTable.cpp:22331)
    il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) + 108 (Runtime.cpp:531)
    scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExc... + 108 (ScriptingApi_Il2Cpp.cpp:243)
    ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool) + 56 (ScriptingInvocation.cpp:347)
    InvokeGameCenterCallback(char const*, ScriptingArguments const&) + 96 (ScriptingInvocation.h:70)
    void GameCenter::TriggerCallback<ScriptingObjectPtr, ScriptingArrayPtr>(char const*, ScriptingObj... + 76 (GameCenter.mm:1384)
    [AchievementWrapper loadAchievements:]_block_invoke + 804 (GameCenter.mm:908)

  2. 35aa88bc61ab4b9d80bac9137c59f599?d=mm

    erikhallgren

    Mar 25, 2019 07:21

    Reproduced on 2019.1.0b8 and 2018.3.9f1

  3. 659060fcfde804c6582d87b432dfa497?d=mm

    MisterBorogove

    Mar 20, 2019 21:40

    Seeing this intermittently on Unity 2018.3.6f1, iPhone 8, iOS 12.1.4.

  4. B487c6e90a5ce6d9c52efb7db74fe0f0?d=mm

    mafff

    Dec 05, 2018 23:23

    Same here, when will this be fixed?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.