I am trying to load the player's score on playercentered spot on a classic leaderboard. If there isn't any data to load for the weekly score, the essential kit throws a null reference exception causing my other buttons to break. My game is live and on the front page of the words category so I am hoping to get a fix soon. Xcode debugger below:
[VoxelBusters.CoreLibrary.EssentialKit] System.NullReferenceException: Object reference not set to an instance of an object.
at VoxelBusters.EssentialKit.GameServicesCore.iOS.Leaderboard+<>c__DisplayClass18_0.<LoadPlayerCenteredScoresInternal>b__0 (VoxelBusters.EssentialKit.IScore[] scores, VoxelBusters.CoreLibrary.Error error) [0x00000] in <00000000000000000000000000000000>:0
at VoxelBusters.EssentialKit.GameServicesCore.iOS.Leaderboard.HandleLoadScoresNativeCallback (VoxelBusters.CoreLibrary.NativePlugins.NativeArray& nativeArray, System.String error, System.IntPtr tagPtr) [0x00000] in <00000000000000000000000000000000>:0
VoxelBusters.EssentialKit.GameServicesCore.iOS.Leaderboard:HandleLoadScoresNativeCallback(NativeArray&, String, IntPtr)
Please let me know what I can do @weak sentinel . Thanks!