Skip to main content
Solved

Unity plugin missing user grouping feature

  • September 5, 2022
  • 6 replies
  • 335 views

Forum|alt.badge.img

Hi! 

 

I’ve been trying to add Amplitude to our Unity game, but in order to correctly user Amplitude’s data, we need to be able to group user’s into groups. The Unity documentation says that it is a supported feature, but the SDK does not include any functions around this. I’ve also created an issue on the Unity SDK github: https://github.com/amplitude/unity-plugin/issues/110

 

This is pretty important to our company because since users pay at the organization level, so we need to see how features affect organizations as a whole, not just at the user-level. 

 

Best,
Kevin

Best answer by ning.chang

Closing the loop here! 


The engineering team let me know that they have added the setGroup method to the Unity SDK in v2.6.0. You can find the new version in the Releases page: https://github.com/amplitude/unity-plugin/releases.
 

View original
Did this topic help you find an answer to your question?

6 replies

ning.chang
Team Member
Forum|alt.badge.img+7
  • Team Member
  • 72 replies
  • September 7, 2022

Hi @kevinbunarjo, could you let me know which Amplitude organization do you belong to? A link is fine! The groups will also only work if your organization is on a paying plan and has purchased the accounts add-on: https://help.amplitude.com/hc/en-us/articles/115001765532-Account-level-reporting-in-Amplitude#prerequisites 


Forum|alt.badge.img
  • Author
  • Novice
  • 3 replies
  • September 7, 2022

Hi! Our organization is definitely on a payign plan (we use grouping in our iOS app): https://analytics.amplitude.com/joonapp/

The issue here is that the function to group users does’t actually exist on the Unity SDK. In particular this function (`Amplitude.getInstance().setGroup`) that is outlined in the documentation here: https://www.docs.developers.amplitude.com/data/sdks/unity/#set-user-groups


Forum|alt.badge.img
  • Author
  • Novice
  • 3 replies
  • September 8, 2022

@ning.chang am I missing something here?


Forum|alt.badge.img
  • Author
  • Novice
  • 3 replies
  • September 8, 2022

Sorry for the scattered responses - I can’t seem to edit my replies haha. But if you look at the SDK repository, the `setGroup` function just doesn’t exist:

 

https://github.com/amplitude/unity-plugin/blob/main/Assets/Amplitude/Amplitude.cs


Jeremie Gluckman
Team Member
Forum|alt.badge.img+9

Thanks for following up @kevinbunarjo I’ll ping the team who can take a closer look. 


ning.chang
Team Member
Forum|alt.badge.img+7
  • Team Member
  • 72 replies
  • Answer
  • September 23, 2022

Closing the loop here! 


The engineering team let me know that they have added the setGroup method to the Unity SDK in v2.6.0. You can find the new version in the Releases page: https://github.com/amplitude/unity-plugin/releases.
 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings