Search Unity

Achievements UI crashing after opening and closing leaderboards UI pre iOS 13

Discussion in 'iOS and tvOS' started by smasters654, Apr 29, 2020.

  1. smasters654

    smasters654

    Joined:
    Dec 20, 2013
    Posts:
    46
    Hello,

    I am having a problem on pre iOS 13 devices. My build crashes doing these steps on iOS 12 but not on iOS 13:

    1. Show Leaderboard UI
    2. Close Leaderboard UI
    3. Show Achievements UI - Crash

    Same steps work on iOS 13 but iOS 12 and below crashes.

    I am using:
    Xcode 11.4
    Unity 2019.3.1

    Also happens on Unity 2019.3.11

    The error message I get in Xcode is as follows:

    terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]


    Anyone else getting this? Is there a fix or workaround?