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 /
  • Help Room /
avatar image
4
Question by ina · Jan 03, 2011 at 01:06 PM · androidmobileiphonedeviceauthentication

Android or iPhone - Unique identification of device?

Is there a way to uniquely identify a device, using Unity -- this would bypass having to use a login/password system for saving user game info on server, for example..

Comment
Add comment
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

7 Replies

· Add your reply
  • Sort: 
avatar image
5

Answer by yatagarasu · Nov 22, 2013 at 12:04 PM

SystemInfo.deviceUniqueIdentifier

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
2

Answer by $$anonymous$$ · Feb 16, 2015 at 02:54 PM

You should not trust SystemInfo.deviceUniqueIdentifier.

It creates different id's on some devices (for example on Galaxy Tab 3) if it's wireless is enabled or not. Because if wireless is not enabled mac address is not available (which is used by Unity) and android_id is used.

Here are the resources:

http://forum.unity3d.com/threads/unity-4-2-systeminfo-deviceuniqueidentifier-regression.194047/ http://android-developers.blogspot.com.tr/2011/03/identifying-app-installations.html

Bug report: (This happens in 4.6.2 patch 1) http://fogbugz.unity3d.com/default.asp?672928_f9m11fc79gran1s7

Comment
Add comment · Show 1 · 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 Bendo · Oct 20, 2015 at 11:30 AM 0
Share

We have observed same issue on the device Asus Nexus 7 II.

avatar image
-2

Answer by marcel12345 · Jan 27, 2016 at 03:15 PM

I am Expert mobile app developer at http://www.xaavo.com/ and I know its old post but I want to share my experience with newbie. First of all stackover flow is best place to getting good solutions , if you are not able to find solution on stack over flow then you have to flow Google and put your query like "Unique identification of device for android and iphone " .. I have creates a lot of applications , my first app was for http://www.flarian.ae/ . It was good experience on unity for first app.

Comment
Add comment · Show 1 · 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 IgorAherne · Jun 07, 2018 at 08:44 AM 0
Share

pretty useless answer mate

avatar image
0

Answer by Herman-Tulleken · Feb 08, 2011 at 03:24 PM

Check out these links:

http://stackoverflow.com/questions/2785485/is-there-a-unique-android-device-id http://stackoverflow.com/questions/3115918/android-unique-id

Unfortunately, the conclusion seems to be there is not one way do get such an ID that will exist and be unique for all phones.

(You could still maintain your own server-assigned IDs on devices to circumvent a login system).

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 Leekevin · Nov 22, 2013 at 10:32 AM

Hi, Unfortunately, I have not found a single way to assign unique ID, I have different sources like Stack flow,research papers,different forums,content transfer app like SmartIO and different other sources.

I suggest you should stick to the basics...

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
  • 1
  • 2
  • ›

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

9 People are following this question.

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

Related Questions

How I use network for mobile 0 Answers

shoot button and mouselook in sametime on mobile 0 Answers

Export FBX Model Runtime 0 Answers

Multiplayer On One Device 1 Answer

Unity 3d Fatal error some device 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