Good news folks. Unity is now claiming this issue fixed in 2019.3.
We're haven't confirmed it yet - but this sounds hopeful.
brainCloud Product Manager
ward a 1000 currency(Essenc
There are two ways to do this.
#1 - if you're using our XP system, you could reward the user 1000 Essence for achieving level 1 (which assumably has a requirement of 0 XP points)
#2 - Otherwise, you can register a script against the Authentication Success API hook (service = Authenticate, Operation = Authenticate, Pre/Post = Post).
In your script, check to see if the newUser flag is set to "true". <- warning, it's a string! (darn legacy)
If it is, award the user the 1000 Essense.
General info on writing API hooks here - https://getbraincloud.com/apidocs/apiref/#cc-ccscripts-apihooks
Hope that helps!
Couple of comments...
First of all, thanks for providing that script @Chris-Brown - that's handy.
Also note - the first 3 api calls in a cloud code script are free, and each one afterwards is just 1/2 a count - so if you were looking up 10 players, instead of it costing 10 API calls, it would cost just 4.5 (1+7/2) using Chris's script - a definite savings.
@Omar-Alzayed you seem to have two requests - but they are related I think. i.e. would you need a separate call to retrieve multiple player summary datas if the summaryData of group members was being returned?
Just ensuring that I understand the use cases...
The 4.1 servers have been updated - and the updated client libs are <mostly> available now as well!
New features in 4.1 include:
(And updated Java, Objective-C and Cocoapods should be deployed in the next few hours)
Note - there are definitely some good improvements in these 4.1 libraries (especially in Unity and Unreal). It is highly recommended that you upgrade to the latest!
Full details in the Release Notes.
That might work for individual apps.
I believe that's a patch to the Trampoline code that Unity generates.
Unfortunately, it's not so much a patch for brainCloud because those changes would need to be made by each app developer. (And I believe that you would need to re-apply the changes everytime you update Unity).
That said, it might be a short-term fix for someone how needs to release on 2019 now!
(I'll see if I can get a dev to try the fix and test to see if it works for us).
Folks please click and add your +1 to this issue!