• 0 Votes
    6 Posts
    298 Views

    Then just call GetSessionForSessionIdAndProfileId() again.

    The check your are doing requires the retrieval of the session from memcached. Retaining a copy of the session and then checking that field later will not solve your use case...

    i.e. if the players session was valid at the time the system calls GetSessionForSessionIdAndProfileId() -- and then becomes invalid while you've got the session cached --- you can't just check the "isLoggedOut" field - because even if you COULD access it - you would be accessing a STALE copy of it.

    So just re-call GetSessionForSessionIdAndProfileId() and if that call is non-null - the session is STILL good - and you are gold.

  • 0 Votes
    4 Posts
    189 Views

    Regarding #1, It looks like this can be implemented within the current functionality as follows:

    When the client is viewing the chat channel, have the client write a user entity saying, in this channel I have read messages up to (the date of the most recent message they have seen). Next, when the app loads the next time, call “getRecentChatMessages” and count up the messages since (the date of the most recent message they have seen). This will give you your count to show for that channel.

    Limitations:
    The chat queue for a channel has a limit of 250.
    Messages have max days and max history (settable by the developer) so if the players been away a long time, some of those messages wont be around to be counted up.
    Go to Messaging Chat to view the settings for these.

  • Anonymous Login Cumulative Reasons

    Unsolved General
    3
    0 Votes
    3 Posts
    140 Views

    Note - the system allows a maximum of 15 anonymous ids. If you exceed that, it will delete the oldest ids to keep you at 15.

    [Background - this used to be totally unlimited - but they really added up for some apps - so we implemented this behaviour and set the max of 15 as being "more than reasonable enough to handle all use cases!" 🙂

    Paul.

  • live conversion inquiry

    Solved General
    2
    0 Votes
    2 Posts
    157 Views

    Hi Noah,

    I don't quite understand your question.

    Development Plus provides access to some features (hosting, deep data, etc.) that we can't otherwise provide access to in a free development plan...

    I suppose it IS accessed via the [Go Live!] button - which can be a bit confusing - since your app isn't really "live" under Dev+. That's a UI inconsistency that we haven't addressed yet.

    The full details of the various plans can be found here: https://getbraincloud.com/pricing/

    I hope that helps!

    Paul.

  • 1 Votes
    10 Posts
    911 Views

    We are very interested in doing it - just need to find a model that works and is reliable...

  • 0 Votes
    2 Posts
    215 Views

    Hi @bkmitchell ,

    thanks for reaching out.

    Unfortunately our built-in relay server tech doesn't support what you need for Unity WebGL multiplayer.

    Most brainCloud devs implementing your use case would integrate with Photon or Edgegap for their multiplayer for this reason. They both work well and work well with brainCloud!

    [PS - This is an area of ongoing development for us though and we aim to fill this gap in the future. I can't comment on timelines for that though...]

    Paul.

  • Adhoc leaderboard version increases by 2.

    Unsolved APIs
    2
    0 Votes
    2 Posts
    270 Views

    Hi. Yes, unless an adhoc tournament is scheduled to start immediately after one finishes, there will always be a "wait" version (version with no tournament) in between scheduled adhoc tournament versions.
    And when it comes to the retained versions, we skip counting the wait versions.

  • 0 Votes
    4 Posts
    415 Views

    Ok, I found it. It wasn't a global setting, it was a filter on the reports. Thanks!

  • AWS Outage impacting brainCloud - Oct 20 2025

    Unsolved General
    4
    0 Votes
    4 Posts
    478 Views

    Posting a copy of the AWS service health page for posterity.

    It mostly refers to the outage impacting DynamoDB - but a lot more services than that were impacted. We expect that just means that a lot of AWS services use DynamoDB under-the-covers to operate.

    2025-10-20_05-58-47.png

  • Voting Leaderboards

    Unsolved APIs
    3
    0 Votes
    3 Posts
    338 Views

    Hi,

    Actually - voting leaderboards are implemented via the PostScoreToLeaderboardOnBehalfOf() call - where you can basically vote for someone else's score. [i.e. voting for that person].

    Create the leaderboard as a "Cumulative" leaderboard - and basically the player votes for the score of another player - incrementing it by +1.

    I suppose we should add those details to the roadmap item!

    I hope that helps to clarify things!

    Paul.

  • Scheduled Script Proxy API Calls

    Unsolved General
    6
    0 Votes
    6 Posts
    466 Views

    As I mentioned in the support chat - the issue is that midnightPSTinUTC isn't dynamically calculated for midnight today -- it's midnight PST on Oct 4th. [i.e. over a week ago].

    What's happening is the call is accepting that past date - which puts the script in the front of our queue to be run ('cause we think we're late!) - and it gets run in the next 60 second job interval. And then reschedules itself in the past again.

    So basically this script is running roughly 60*24 = 1440 times a day.

    Anyway - I'll have the devs look into it - we should return an error if you are scheduling the script too far into the past... [i.e. a second or two in the past is probably fine - and best to do in case the scheduling script has delays of some sort... but clearly 10 days in the past is too far! Probably 60 mins in the past is too far! 🙂 ]

  • Buying lives with coins

    Unsolved General
    4
    0 Votes
    4 Posts
    432 Views

    HI @richard - we're currently working on a feature that will handle this directly for brainCloud 5.9.

    In the meantime, an interim approach would be to:

    Manage the Lives in a virtual currency. In the item catalog - you can indicate the currencies to award from the offer via the extra data JSON. And create a post-hook on PurchaseUserItem - calling a script to award the appropriate currencies - and immediately consume the new "item" that was purchased...

    Just a thought...

    [But yeah - we're going to have a more direct solution in 5.9 - which is currently targeted for November release.]

    Paul.

  • [Unity] Client SDK parameter inconsistency/error

    Unsolved APIs
    3
    0 Votes
    3 Posts
    355 Views

    Thanks for reporting this. I’ll forward it to our team and get it fixed.

  • 0 Votes
    6 Posts
    835 Views

    Cool. Thanks for the update @MattForemanDev !

  • Is Meta Quest Fully Supported?

    Unsolved General
    7
    0 Votes
    7 Posts
    684 Views

    @JasonL @Paul-Winterhalder Thanks for your help, the error no longer appears after the Google Android platform was enabled.

  • 0 Votes
    2 Posts
    327 Views

    @william Thanks a lot for your feedback and suggestions! It’s really helpful, and we appreciate you taking the time to share your thoughts.

  • Discussion - A/B Testing

    Unsolved General
    5
    0 Votes
    5 Posts
    642 Views

    @JasonL
    Yes we can do that too, I was just wondering how granular our control over the segment is, as one of the requirements for our testing was to have a precise number of users for each group.

    Thank you so much for the info, I'll write again if I have more questions.

  • 0 Votes
    7 Posts
    1k Views

    Cool - good to hear it. And once again: thanks for reporting it!

  • List active tournaments

    Unsolved APIs
    7
    0 Votes
    7 Posts
    789 Views

    Hi @richard,

    Hmm - yeah - I don't think that JSON is currently editable in the portal.

    Paul.

  • Pre-Game Lobby: Groups vs Lobby?

    Solved General
    6
    0 Votes
    6 Posts
    682 Views

    Please refer to the article -- Implementing Continuous Lobbies in the brainCloud Help Center for details.