• Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • All tags
    Load new posts
Log in to post
  • P

    Unity basic setup

    Scheduled Pinned Locked Moved Solved APIs unity
    5
    0 Votes
    5 Posts
    269 Views
    Paul WinterhalderP

    Cool to see the forums working! 🙂

    I've marked @Panagiotis-Milios more detailed explanation as the accepted solution, but kudos to you @Chris-Brown for pointing it out, and @Panagiotis-Milios for providing the detailed example. Thanks a bunch! 🙂

  • J

    Global Entities What, when, where and how?

    Scheduled Pinned Locked Moved General database entity
    5
    0 Votes
    5 Posts
    307 Views
    J

    Thank you, fantastic. I appreciate all the information you have given.

  • G

    Issue with Auth when running outside of Unity editor

    Scheduled Pinned Locked Moved General authentication macos ios
    5
    0 Votes
    5 Posts
    214 Views
    Michael CostaM

    Hello @Gavin-Beard!

    We've had trouble reproducing this issue on our end. After some testing with a small app on MacOS and iOS, we have not been able to see the error you are encountering using Unity 2021.3.8.

    If you could, please check out the app here and let us know if this issue is still persisting. It is a barebones authentication app and it should run on multiple devices. The Authentication.cs script has all the gory details. Just open up the Main scene under Assets > App > Misc > Main.unity to get it running. You will also need to add your brainCloud credentials, but you can copy the Authentication example template in brainCloud to test the app.

    Please let us know how this app works on your end and if any issues are encountered! You should be able to click on any error logs in the in-app console to copy the log to your device's clipboard.

    As for your specific issue, my best guess is that perhaps an external library of sorts might not be supported with brainCloud, such as the Newtonsoft Json.NET library. For JSON de/serializing, brainCloud comes with JsonFX. You can also make use of Unity's own JsonUtility for structured JSON de/serialization. Both the app I've shared and the examples on our GitHub make use of JsonFX extensively.

    If you'd like to know more and see how a more robust app can handle brainCloud authentication, as Franco suggested, you should check out our Authentication example on our Unity Examples GitHub.

    Hope this helps! Please let us know if you have further questions or inquiries about this.

  • G

    Async match without opponent

    Scheduled Pinned Locked Moved General async match unity
    5
    0 Votes
    5 Posts
    199 Views
    G

    @Paul-Winterhalder said in Async match without opponent:

    Hi,

    brainCloud currently offers two forms of matchmaking:

    Offline matchmaking - for async match (i.e. words with friends) or one-way multiplayer (i.e. class of clans) style games. Both of those multiplayer types require you to have an opponent to play against when the match starts.

    There is also online matchmaking - which uses our lobby system - which is suitable of any online / real-time sort of multiplayer.

    (That one doesn't require you to have an opponent in mind when the lobby starts... and the lobby can start a match via a relay or room server session right away...)

    That said - I get the feeling that you are talking about more of an async match scenario (i.e. not-necessarily-online multiplayer) - where the match can start before an opponent has been identified.

    Am I correct that that is the scenario you are wanting to target?

    It's an interesting approach - as there's a much lower chance of matching against another player who isn't going to respond in a timely manner.

    Let me know if I've got the scenario right and we'll give it some more thought...

    Paul.

    Hi Paul,

    Yes, you are correct. When a user starts a new game, it'd essentially see if someone has already started a game but has no opponent, If a match is found the second player will be added to the game and can then make their move. If no match is found that is awaiting a player, it'll create a new game, let player 1 make their move and then go "dormant" until a player two is ready.

    If you have ever used the turn based aspect of Apples Game Center turn based service, this is essentially how that works.

  • thatguy1T

    Don't discourage modulation by charging per in-house calls

    Scheduled Pinned Locked Moved Suggestions suggestion prices cloudscript price tiers script cloud code script
    5
    0 Votes
    5 Posts
    193 Views
    thatguy1T

    These points above are indeed good examples regarding "forcing bad practices":

    If I have 3 free API calls after the API call, after the 3rd freebie, I can return it and call again for 1 core + 3 more that can branch off again. This is inefficient for BC, yet beneficial for end-users (thus, forcing bad practices since it costs and gives more if we avoid the pre and post hooks).

    If a workaround to save API costs would be more work for the user, and costs more for BC, that's a lose-lose. If such a "hole" exists, shouldn't it be repriced for that consideration to make it the win-win you folks want it to be?

  • D

    Using numbers as JSON key.

    Scheduled Pinned Locked Moved Cloud Code cloud code
    5
    0 Votes
    5 Posts
    185 Views
    D

    @JasonL
    Thank you!!

  • G

    Authentication error - Unity iOS

    Scheduled Pinned Locked Moved APIs error ios unity
    5
    0 Votes
    5 Posts
    293 Views
    F

    Hello Gavin and Andreas, apologies for the late response. Could you give more information to reproduce the crash you're experiencing in iOS? I've attempted to reproduce the crash and 202 error and I wasn't able to. For these cases versions are important so if you could provide the Unity Engine version, iOS version, and what iPhone device used to test with.

  • C

    User Entity vs Global Entity Indexed ID

    Scheduled Pinned Locked Moved APIs cloudscript entities unity
    4
    0 Votes
    4 Posts
    158 Views
    Paul WinterhalderP

    Hi Chris,

    User entities are primarily indexed by profileId + entityType - so the singleton API will scale well no matter how many players you have.

    That said, if your use case gets more complicated, with say hundreds of entities of a particular type per user (say maybe you are modelling user created towns, that sort of thing) - you could consider using Owned Custom Entities instead. You can define addition, custom indexes for those... keeps those lookups fast and efficient.

    In addition, if you end up having >1000 Global Entities, you should definitely look at switching to Unowned Custom Entities. Same deal - you can define your own custom indexes...

    Hope that helps!

    Paul.

  • A

    Segmentation APIs

    Scheduled Pinned Locked Moved Cloud Code cloudscript segmentation
    4
    0 Votes
    4 Posts
    171 Views
    Paul WinterhalderP

    Hi @Alexandru ,

    We've just officially added the Segment call you're looking for to brainCloud 4.55 - which is targeted for release in the next ~30 days...

    Updated Roadmap here - https://portal.productboard.com/braincloud/1-braincloud-baas-roadmap

    Paul.

  • A

    Pre Hook for Authenticate Or send Custom content

    Scheduled Pinned Locked Moved Suggestions prehooks authentication
    4
    0 Votes
    4 Posts
    159 Views
    A

    @JasonL I understand the reason, but please do provide a way to pass custom data to authenticate api so we can use that data to set user displayname or profile picture or soemthing else on post-hook.
    Without this, we have no choice but to call a seperate call from client (so no beneift of 2 free api inside cloud call)

  • M

    Global entities size

    Scheduled Pinned Locked Moved Solved General global entities maximum size entities
    4
    0 Votes
    4 Posts
    115 Views
    Paul WinterhalderP

    No problem - happy to help!

    Paul.

  • D

    Understanding VerifyPurchases for "Non-Consumables"

    Scheduled Pinned Locked Moved Solved APIs verifypurchases non-consumable
    4
    0 Votes
    4 Posts
    166 Views
    Paul WinterhalderP

    Happy to help! 👍

  • U

    Timeouts?

    Scheduled Pinned Locked Moved Solved APIs timeout unity
    4
    0 Votes
    4 Posts
    212 Views
    U

    Thanks guys! I figured it would be ridiculous if I had to do timeout checks and retries myself 🙂

  • P

    Unity AddressableAssets

    Scheduled Pinned Locked Moved Solved APIs unity
    4
    0 Votes
    4 Posts
    248 Views
    Paul WinterhalderP

    Follow-up on this...

    My guys have looked into it, and the way we version our global files isn't compatible with this new feature from Unity. Apologies!

    (PS - No plans yet for when/if we'll support it. Certainly tons of folks use an external CDN with brainCloud apps though - so the option is still there for you!)

  • C

    Award currency on new registration

    Scheduled Pinned Locked Moved Solved General currency rewards
    4
    0 Votes
    4 Posts
    233 Views
    Paul WinterhalderP

    Happy to help! 🙂

    Paul.

  • C

    Getting public groups only

    Scheduled Pinned Locked Moved Solved APIs group unity windows
    4
    0 Votes
    4 Posts
    212 Views
    Paul WinterhalderP

    D'oh - bit late on the update, but 4.1 has been released, and you can now search on isOpenGroup (as well as the new groupSummaryData).

    4.1 Release notes here - https://getbraincloud.com/apidocs/release-4-1/

    Cheers!

    Paul.

  • Paul WinterhalderP

    We've made a change to brainCloud's API networking...

    Scheduled Pinned Locked Moved General braincloud networking
    4
    0 Votes
    4 Posts
    190 Views
    Paul WinterhalderP

    Update 3 - okay - the networking optimization is back in place now.

    (Though we haven't turned it on for the Portals yet - just want to ensure there aren't any issues first...)

    Paul.

  • J

    Password content specification?

    Scheduled Pinned Locked Moved Solved General email cloudcode password
    4
    0 Votes
    4 Posts
    167 Views
    Paul WinterhalderP

    FYI - this feature was added in brainCloud 4.13 - https://getbraincloud.com/apidocs/release-4-13/

  • PaulW_PlayAP

    How can I manage multiple versions of my app between development, staging, production, etc?

    Scheduled Pinned Locked Moved Solved General app management versioning
    4
    0 Votes
    4 Posts
    242 Views
    Steve JonesS

    If your app uses Global Entities, don't forget to Export/Import the required entities from the Dev->Staging->Live apps. You can export all, or some via the Bulk Actions Menu within the Monitoring/Global Monitoring/ Global Entities page.

    More about Global Entity File Export Formats are here, https://getbraincloud.com/apidocs/api-modules/global-entity-file-formats/

    Hope this helps!

  • Paul WinterhalderP

    So - our forums are up! What do you think?

    Scheduled Pinned Locked Moved General general
    4
    4 Votes
    4 Posts
    265 Views
    C

    I like the new forums. It was something I always felt was lacking and with the quick response time, they have already proven to be very useful. Hopefully this helps connect developers using brainCloud together as well as with the brainCloud team.

  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users