Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by arkano22 · Mar 19, 2013 at 10:06 AM · deviceidentifieruniquereinstall

SystemInfo.deviceUniqueIdentifier reinstall

My question is: will SystemInfo.deviceUniqueIdentifier stay the same if the user reinstalls the game? I suppose so, after all it is a device identifier, but I want to make sure it will.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image QuantumCalzone · Mar 03, 2017 at 01:15 AM 0
Share

@arkano22 what is the method for getting a Unique Identifier for android per install? Running into this issue and can't seem to find a solution anywhere :,(

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by zhuchun · Jan 09, 2015 at 03:11 AM

http://forum.unity3d.com/threads/emergency-help-about-systeminfo-deviceuniqueidentifier-on-ios-7-0-4.213258/ By Mantas Puida From Unity Tech

Latest Unity versions use IDFV (id for vendors) as unique identifier, because Apple does not allow you to use IDFA for anything else than serving advertisements. IDFV retains its value until at least one application of specific vendors remains installed on device, once you remove last application of specific vendor this id gets reset.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by heru_ · Sep 28, 2017 at 10:26 AM

i tried this on iOS, it changes when you reinstall the game (Unity 5 & iOS 10)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Graham-Dunnett · Mar 19, 2013 at 10:21 AM

SystemInfo.deviceUniqueIdentifier calls down into the device to get the ID, so I can't think it can possibly change with a re-install of the game.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image arkano22 · Mar 27, 2013 at 12:25 PM 1
Share

Graham, I´ve confirmed that it does change with each reinstall, at least in Windows. Which renders it pretty useless for most cases.

In Android however, it does not (as of Unity 4.0, in 3.5 it DID change). Does anyone have an alternate solution to this problem? I know we could store the ID generated the first time the app runs, but unfortunately this is not easy to do for us as we already have a big user database and they would be forced to lose all their local data in order to do a clean reinstall.

If this is the intended behaviour, the name of the property is very misleading. Plus it says pretty much nothing in the docs about it.

avatar image ___Petr___ · Oct 28, 2014 at 12:16 PM 0
Share

What about iOS (8)? Can you say please - could SystemInfo.deviceUniqueIdentifier change between launches?

avatar image zhuchun · Jan 09, 2015 at 03:04 AM 0
Share

I tried this on iOS, it changes when you re-install the game

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why does SystemInfo.deviceUniqueIdentifier fail to return the same string? 0 Answers

Is deviceUniqueIdentifier actually unique? 0 Answers

Mobile Physical address 1 Answer

deviceUniqueIdentifier 1 Answer

iOS Unique identifier deprecated? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges