Sign In Register

How can we help you today?

Start a new topic

challenge setPrivateData takes a while to actually commit data

I have a setup where the first player to post a score within a certain time window creates a challenge. Players posting subsequent scores will join that same challenge.


In the setup phase I call setPrivateData/setScriptData with some custom data. Players joining the challenge will use that data for their own setup. I'm making sure that the set calls are happening before the challenge becomes "discoverable" by other players.

However, I found that sometimes if a player gets a challenge that was just created, getPrivateData/getScriptData will return null, even though the data should have already been set.


Can you confirm this behavior? How can I work around it?


Thanks,

Giovanni



1 person has this question
Login to post a comment