Search Issue Tracker

Fixed in 2017.1.X



Found in


Issue ID




[iOS] Calling Social.localUser.Authenticate crashes in String_memcpy2_m2338403668



Callback in Social.localUser.Authenticate does not match actual authentication value, causing a crash on iOS.

Steps to reproduce:
1) Open the latest attached project.
2) Build for iOS.
3) Run on a device connected to the Internet.

The app crashes in il2cpp::vm::Object::AllocatePtrFree or String_memcpy2_m2338403668 (the digits vary). Social.localUser.authenticated and Social.localUser.Authenticate (success) both return 'true'. The crash occurs with IL2CPP and Mono2x.

Reproduced on:
5.6.0b6, 5.5.1p2, 5.5.0f3

Did not reproduce:

Tested on:
iPhone 7 iOS 10.3
iPhone 5S 9.3.3

Comments (6)

  1. mansonet

    Sep 06, 2017 18:36

    Still happening in 2017.1.0p5 when try to access to message argument in callback

  2. Fimiam

    Aug 30, 2017 13:17

    I have a crash when when i use SOCIAL.LOCALUSER.AUTHENTICATE on Android device. please help me anyone

  3. MigrantP

    May 04, 2017 14:29

    This is supposed to be fixed in Unity 5.6.0p1 but we are still seeing crashes leading from Game Center authentication.

  4. zakirshikhli

    May 04, 2017 08:08

    "Social.localUser.Authenticate" not calling on Unity 2017. 3rd Beta.
    Nothing happens, no errors, Debug.Log before "if" not calling...

  5. MigrantP

    Mar 29, 2017 21:07

    We are experiencing these crashes with with Unity 5.5.2f1 on iOS as well.

  6. CostiaRiko87

    Mar 21, 2017 10:15

    I have same issue on:
    5.5.2.f1 and 5.5.2.p2

    i have also posted on forum:

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.