Search Unity

Social.Active.ShowLeaderboardUI() GameCenter crash on pressing done button

Discussion in 'Editor & General Support' started by Tristan.fgol, Jan 5, 2016.

  1. Tristan.fgol


    Sep 3, 2014
    Hi Guys,

    Just wondering if anyone has seen this before and knows a fix or if it is a known unity bug.

    But when we call Social.Active.ShowLeaderboardUI() it starts showing the GameCenter UI and as this is starting to happen you tap very fast in the top right corner where the Done button will be, the application will crash with the below information printed to the console:

    2016-01-05 14:21:42.494 ***[1332:501623] plugin invalidated

    2016-01-05 14:23:05.871 ***[1332:501302] Warning: Attempt to dismiss from view controller <UnityDefaultViewController: 0x12e033360> while a presentation or dismiss is in progress!

    crashing on the line

    UIApplicationMain(argc, argv, nil, [NSStringstringWithUTF8String:AppControllerClassName]);


    with an error - main (1): EXC_BAD_ACCESS (code=1, address=0x10)

    any help with this or if someone from Unity can confirm this is a bug in unity that would be great