Converted profiles have name as key instead of random UUID
Affected version: 2.0.757 (Windows)
The bug
Profiles which were created with the old launcher has their names as key in the launcher_profiles.json file instead of a random UUID which every new profile has.
{
"profiles": {
"Snapshots": {
"type": "latest-snapshot",
"lastUsed": "1970-01-01T00:00:00.002Z",
"gameDir": "###"
},
"691a56c5be968605778575592a6a5b85": {
"name": "New profile",
"type": "custom",
"created": "2017-02-04T16:28:52.125Z",
"lastUsed": "1970-01-01T00:00:00.000Z",
"lastVersionId": "latest-release"
}
}
Created Issue:
Converted profiles have name as key instead of random UUID
The bug
Profiles which were created with the old launcher has their names as key in the launcher_profiles.json file instead of a random UUID which every new profile has.
{ "profiles": { "Snapshots": { "type": "latest-snapshot", "lastUsed": "1970-01-01T00:00:00.002Z", "gameDir": "###" }, "691a56c5be968605778575592a6a5b85": { "name": "New profile", "type": "custom", "created": "2017-02-04T16:28:52.125Z", "lastUsed": "1970-01-01T00:00:00.000Z", "lastVersionId": "latest-release" } }
Changed Description:
Affected version: 2.0.757 (Windows)
The bug
Profiles which were created with the old launcher has their names as key in the launcher_profiles.json file instead of a random UUID which every new profile has.
{ "profiles": { "Snapshots": { "type": "latest-snapshot", "lastUsed": "1970-01-01T00:00:00.002Z", "gameDir": "###" }, "691a56c5be968605778575592a6a5b85": { "name": "New profile", "type": "custom", "created": "2017-02-04T16:28:52.125Z", "lastUsed": "1970-01-01T00:00:00.000Z", "lastVersionId": "latest-release" } }
Added Assignee:
[Mojang] Nathan Adams
That's true, but it's also intentional. The old launcher had the concept of "name is id", which required all names to be unique. We've split this off for new configurations, but moving IDs from the old launcher keeps them in the new one. We would break compatibility with 3rd party tools if we just changed IDs of stuff arbitrarily, I'm afraid