question

sps avatar image
sps asked

object clientstatisticupdate is not safe for JSON or propertylists Removing.,Object ClientStatisticUpdate is not safe for JSON or PropertyLists. Removing.

I updated the user statistics on the OC. Although it returned successfully, it was not updated. The log shows that object clientstatisticupdate is not safe for JSON or propertylists Removing. Object <ClientStatisticUpdate: 0x2802a7500> can't be converted to properties.

sdksLeaderboards and Statistics
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Made Wang avatar image Made Wang commented ·

I'm not very familiar with OC and I need some time to try to reproduce the problem. Can you provide your code?

0 Likes 0 ·

1 Answer

·
Made Wang avatar image
Made Wang answered

After testing, I can successfully call UpdatePlayerStatistics.

This error is because there is a problem with the parameters passed in, please check whether the parameters meet the specifications.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.