Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Brite
  • 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
  1. Home
  2. APIs
  3. GetMyGroups never returns

GetMyGroups never returns

Scheduled Pinned Locked Moved Solved APIs
unitygroups
2 Posts 2 Posters 1.4k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Paul Gregory
    wrote on last edited by
    #1

    Hi,

    Trying prove out a workflow for my game, having authenticated in the Unity editor anomymously, using the BrainCloudWrapper, I try to get a list of groups that this user is a member of using the following code.

            _bc.GroupService.GetMyGroups((response, cbObject) => {
                Debug.LogFormat("GetMyGroups returned: {0}", cbObject);
            }, failureCallback);
    

    but it never returns anything, neither the success nor the failure callback is called, no errors I can see on the server logs in the portal, nothing, it's like the request has just disappeared into the ether. I tried "ReadGroup" on a known group ID too, same thing. I have created a group and added the anonymous user to that group by profileId.

    Any ideas what I'm doing wrong?

    Paul

    1 Reply Last reply
    0
    • JonathanJ Offline
      JonathanJ Offline
      Jonathan
      wrote on last edited by
      #2

      This error has been since resolved.

      A help article has been made on the groupType page: http://help.getbraincloud.com/en/articles/3272656-design-groups-group-types

      If experience similar problems to this forum topic with our Unity library, ensure brainCloud has been added to a gameObject, and that gameObject is not disabled.

      1 Reply Last reply
      1

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

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