• 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

GetMyGroups never returns

Scheduled Pinned Locked Moved Solved APIs
unitygroups
2 Posts 2 Posters 304 Views
    • 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

  • Login

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