Sign In Register

How can we help you today?

Start a new topic
Answered

Following the "How to create and use Cloud Code" tutorial

Hello, again!


I'm following the Cloud code tutorial and everything is going smooth.

I have successfully added script data to my player object in JSON format via the event and cloud code.


When I want to test harness that player, I go to AccountDetailsRequest but in the response the script data field is NULL


Am I missing something?

Also, how would one get this data to Unity.


Thanks!


Best Answer

I think I got it, maybe.


Following the tutorial, test harness didn't actually write the data to player's scriptData (I've taken a look via NoSQL).

However, when I run the event from Unity, then the data gets saved just like test harness said it would. Didn't know that.

Now, upon logging in with that player, I get the scriptData as well.


That's awesome!

1 Comment

Answer

I think I got it, maybe.


Following the tutorial, test harness didn't actually write the data to player's scriptData (I've taken a look via NoSQL).

However, when I run the event from Unity, then the data gets saved just like test harness said it would. Didn't know that.

Now, upon logging in with that player, I get the scriptData as well.


That's awesome!