You could try doing just a Debug.Log(response.Currency1.ToString()) in the resposne to see if it's working correctly as UpdateGUI assumes the GUI is set up correctly.
Shane
T
Test Account
said
over 7 years ago
Uhm.... i think it i mentioned the problem being with the display name and NOT currency. And the fact that its not even showing in the response debug details as i have shown
Thnx for your prompt reply and careful attention to mater.
Cheers,
Customer Support
said
over 7 years ago
Answer
I am really very sorry about that!
Can you try the following:
new AccountDetailsRequest().Send((deetResponse) =>
{
Debug.Log(deetResponse.DisplayName);
});
Test Account
Hi, im using this piece of code from the unity tutorials and its not returning the Display Name request.
and on the debug console this is the output of the response...
GS: RECV:{"@class":".AccountDetailsResponse","currency1":200,"currency2":0,"currency3":0,"currency4":0,"currency5":0,"currency6":0,"location":{"latitide":personalinfo,"longditute":personalinfo,"city":"personalinfo","country":"personalinfo"},"requestId":"635522047178254380_3","scriptData":null,"userId":"546aee2fe4b0c1a676d7208e"}
am i missing something, casue the currency is showning up and so is the userId but not displayname
thnx
Cheers,
I am really very sorry about that!
Can you try the following:
For me it returned the following:
What version of the Unity SDK are you using?
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
You could try doing just a Debug.Log(response.Currency1.ToString()) in the resposne to see if it's working correctly as UpdateGUI assumes the GUI is set up correctly.
Shane
Test Account
Uhm.... i think it i mentioned the problem being with the display name and NOT currency. And the fact that its not even showing in the response debug details as i have shown
Thnx for your prompt reply and careful attention to mater.
Cheers,
Customer Support
I am really very sorry about that!
Can you try the following:
For me it returned the following:
What version of the Unity SDK are you using?
Roman Koval
Hi GameSparks support, any answer on why response.DisplayName is not in JSON string? I am getting the same response occasionally.
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics