Sign In Register

How can we help you today?

Start a new topic
Answered

Issue with unity leaderboard implementation

I have a high score leaderboard functioning in the test harness with score being submitted correctly for each user and the Leaderboard data request also working in portal. In unity I enter the code presented in the tutorial , and the reponse  doesn't present any errors,however the leaderboard is not updated. Also when querying the leader board using reponse.data I get the following error : key was not present in the dictionary. 
I seem to be overlooking something .  Any help would be much appreciated :) 


Best Answer

I was using LogChallengeEventRequest instead of the required LogEventRequest. Was rushing through it in unity and overlooked. Figured it out a couple hours later when I used the custom sdk functions. Thanks for your response ! :) 


 Hey Patrick,

Any chance you could give me the code you are using to post the score in Unity?

Thanks,
Sean

Answer

I was using LogChallengeEventRequest instead of the required LogEventRequest. Was rushing through it in unity and overlooked. Figured it out a couple hours later when I used the custom sdk functions. Thanks for your response ! :) 

No problem Patrick, you're welcome

 

Login to post a comment