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
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
- Memory Leak warnings are thrown when opening an imported Prefab
- Crash on mono_push_other_roots when setting Normal Thread Affinity
- Editor exits Play mode when another project is being created using Unity Hub 3.8.0-beta.1
Add comment