Search Issue Tracker
Fixed in 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
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.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment