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
3
Question by save · Jan 27, 2012 at 12:24 PM · iosidentifierunique

iOS Unique identifier deprecated?

Now when Apple is to phase out the UDID, what will happen to Unity's class iPhoneSettings.uniqueIdentifier?

Are we better off generating our own unique identifier for each game (some md5 string at first boot of the app)?

Comment
Add comment · Show 2
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 save · Jan 27, 2012 at 12:26 PM 0
Share

By the looks of it Unity have already removed it from the scripting reference.

avatar image ina · Oct 20, 2012 at 10:01 AM 0
Share

currently a silent fail for apple devices

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Bunny83 · Jan 27, 2012 at 02:47 PM

I only worked once with an Android phone, so i don't even know what uniqueIdentifier has returned by this (old) property, but i guess it's the phone's unique identifier which identifies the device.

If that's what it was good for, it has been moved to a more general place. Specifically here: SystemInfo.deviceUniqueIdentifier which should return the UDID (unique device identifier)

I'm not sure what this property will return in future builds since, like you said, iOS has removed the possibility to read the UDID of the device.

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 save · Jan 27, 2012 at 03:44 PM 0
Share

Thanks Bunny for the answer. So I guess we, as developers, are fine just creating something of our own unique identifier (for user data etc when connecting to servers). This is probably the most correct answer there will be, so I'll mark yours as correct, although it would be nice to get an insight from what Apple will do with this as many functions and services depends on this feature.

avatar image Bunny83 · Jan 27, 2012 at 06:15 PM 1
Share

Well, i guess you have to find another way to identify a user. One the one hand the UDID was a reliable user identification, one the other hand it's private data. A lot users don't want to be recognised everywhere. I don't know why Apple removed this feature, but i guess due to security / privacy issues.

Beside the fact that Apple is going to deny reading the UDID, the more important thing is what will be returned by SystemInfo.deviceUniqueIdentifier in the future. $$anonymous$$aybe Unity implement some own "cookie"-like system.

avatar image save · Jan 27, 2012 at 06:28 PM 0
Share

Yes lets hope for that! We would be able though to do a quick md5 hash of, lets say localtime of first boot and some highly random value and store it in the prefs.

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

6 People are following this question.

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

Related Questions

Unique Identifier iOS 1 Answer

Modify ios bundle identifier while building 0 Answers

Unity 2018 is not adding bundle identifier in Xcode Build Settings 1 Answer

Getting Xbox 360 User ID (Or some sort of unique identifier) 0 Answers

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


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