Error on post score...
 
Notifications
Clear all

Error on post score to leaderboard

3 Posts
2 Users
0 Reactions
843 Views
(@isasaurio)
Posts: 29
Eminent Member
Topic starter
 

Hi, I'm trying to post a score on a Leaderboard but I have the following error.

NullReferenceException: Object reference not set to an instance of an object
CombuPostResultados.LeaderboardsPost () (at Assets/CombuPostResultados.cs:73)
CombuPostResultados+c__Iterator0.MoveNext () (at Assets/CombuPostResultados.cs:143)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)

What am I doing wrong and how can I solve it?

Thank you !!

 

 
Posted : 22/03/2018 10:50 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

The error talks about line 71, it seems leaderboardScore is not set to an object (that's a NullReferenceException, you're trying to access the property of a null object).

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 22/03/2018 1:47 pm
(@isasaurio)
Posts: 29
Eminent Member
Topic starter
 

Thank problem solved 🙂

 
Posted : 22/03/2018 1:50 pm
Share: