Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question How to know what's the player's device?

Discussion in 'Unity Analytics' started by MatanYamin, Oct 17, 2023.

  1. MatanYamin

    MatanYamin

    Joined:
    Feb 2, 2022
    Posts:
    110
    Hey everyone,

    Super new to Unity Analytics.
    I'm having trouble to detect the player's device, just like Google Analytics show.

    Is that even possible?
     
  2. joefspiro

    joefspiro

    Joined:
    Jan 6, 2022
    Posts:
    47
    MatanYamin likes this.
  3. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    2,596
    joe's got it.

    The whole SystemInfo structure is useful for this kind of thing, though there are some hardware combinations that will not support some of these fields accurately. For example, even though it says it is "guaranteed", the unique device ID is definitely not unique for various reasons on some platforms.
     
    MatanYamin likes this.
  4. MatanYamin

    MatanYamin

    Joined:
    Feb 2, 2022
    Posts:
    110
    Thank you both, That's sound exactly what I need but how do I send it to Unity Analytics so I can observe the information in the panel?