- Home /
When does SystemInfo.deviceUniqueIdentifier change on ios 7?
The unity document says "On iOS7 devices it will be UIDevice identifierForVendor or, if that fails for any reason, ASIdentifierManager advertisingIdentifier."
My game save the deviceUniqueIdentifier when creating save data.The game will check the whether identifier is matched or not. if not, I create a new save data to ensure that the save is not copied.
Since some players reported that the save data is missing on ios 7. I checked the document that the deviceUniqueIdentifier can be changed on the same device. The problem is that I need to know when does the deviceUniqueIdentifier change on ios 7 so I can make sure whether player lose save data is because of my seurity code.
Answer by EnriqueL · Nov 06, 2014 at 11:25 AM
I don't know if you still new that answer, but here is mine. Nowadays Unity deviceUniqueIdentifier in Ios 7 or <, is returning the UIDevice identifierForVendor, instead of the MAC address, as Unity says, the UIDevice identifierForVendor change only when all the vendor apps are uninstalled, or after the upgrade to Ios 7, I use a little file where i create an identifier that i store to ensure that does't change through time. I hope this info is useful to you, and doesn't came to late!
Your answer
![](https://koobas.hobune.stream/wayback/20220613133314im_/https://answers.unity.com/themes/thub/images/avi.jpg)