Search Issue Tracker

Fixed in Unity 5.4.3

Votes

0

Found in

5.3.4f1

Issue ID

820938

Regression

No

Social Leaderboard - IScore.value has type of long but overflows as int

iOS

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 3Secondary functionality broken

1. Build & Deploy my attached project to iOS device.
2. Make sure that your Game Center account is enrolled in iTunes Connect with "Unity Technologies ApS" team.
3. When game loads click "Button" button.
Notice logs in XCode (search for "is the score added"). You will notice that highest score fetched is "-147483649"

Actually, the button reports HighScore with value of 4147483647, and reporting part seems to be working as it is being shown correctly in GameCenter app (see my attached screenshot), but it looks like when fetching scores somewhere conversion from long to int is happening and actual score reported (when it is higher than Int.MaxValue) is invalid.

Reproduced with: 5.3.5f1, 5.4.0f3, 5.5.0b2(project would not launch);

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.