I had been setting my game directory to a folder in my Onedrive account so I could keep settings etc. synced between machines. Recently it has stopped working. I get the following error when I try to launch the game:
Error details: Cannot create a file when that file already exists
Filename on disk: .minecraft
Path: C:/Users\xxxxx\OneDrive\.minecraft
Exists: true
I can launch the game if I delete the folder. However, that defeats the purpose of saving game directory all together.
left
Windows version 10 Pro 64-bit
OneDrive: 2018
Minecraft: 1.12.2
Minecraft launcher: 2.0.1003
Say something silly, Laugh 'til it hurts, Take a risk, Sing out loud, Rock the boat, Shake things up, Flirt with disaster, Buy something frivolous, Color outside the lines, Cause a scene, Order dessert, Make waves, Get carried away, Have a great day!
Not only is that not helpful, but it is plain rude. The reason to use a folder in OneDrive is to have your saves and such backed up automatically. If you do not have an actual solution, than why bother posting. The obvious answer is to not use OneDrive. But that does not really solve the problem does it?
Say something silly, Laugh 'til it hurts, Take a risk, Sing out loud, Rock the boat, Shake things up, Flirt with disaster, Buy something frivolous, Color outside the lines, Cause a scene, Order dessert, Make waves, Get carried away, Have a great day!
I suspect the change to Onedrive is to help prevent your files from being encrypted and then you being extorted in order to get your file back.
On that note, it appears I have found a work around.
1) Create a folder somewhere else (like Documents) for your Minecraft files.
2) Download and Install Synkron http://synkron.sourceforge.net/
3) Set up a file sync between the Onedrive folder and the new folder.
4) Click on Scheduler and it to Sync Periodically. (You can set it for every 10 minutes, every 20 minutes or whatever you want)
5) Manually start the Sync for your Minecraft files.
6) Run Minecraft Launcher from the new location and play.
Synkron runs in the background all the time and you can either let it automatically sync, or you can manually run the sync after you exit Minecraft.
onedrive is a storage/sharing drive, its not meant to be used for actively running games, hence why its not working properly with minecraft, minecraft edits and saves its files constantly, onedrive would then be constantly updating the files on the cloud none stop eating your data and as it takes time to upload and download things it would also cause minecraft ot lag as it gets the chunk data
1) It has worked in the past.
2) I'm not concerned about data. It's not going to burn anywhere near the bandwidth that streaming video would. The files are on my machine, the syncing is just backing them up to OneDrive so when I switch machines I retain skins/saved games/settings.
3) You can pause the syncing feature if you are that concerned about it.
4) Having the ability to make your settings and save games portable between machines is common sense. That is exactly what cloud services are for.
Since Minecraft works in normal directory, but not OneDrive, that tells me it's an issue with OneDrive, complain to Microsoft.
I have posted on their site as well. However, they will likely say if I switch to the windows 10 version I won't have the issue. Also, the launcher has steadily become more and more restrictive. A couple months ago they broke the ability to use mounted drives in windows.
Thanks for finding a relevant bug report. However, my logs indicate that the Fall Creators Update was installed in December 2017. The issue started right when the 1.12.2 update dropped across multiple machines of mine. It looks like there is more to it than that.
yes cloud backups exist, but they always do the backup when the game closes, not while the game is running, moan to microsoft for changing onedrive, use the method mentioned above, or do manual backups to the onedrive folder, don't use the onedrive folder for minecrafts install location
Based on feedback from Microsoft, it is an issue with Minecraft not one drive. One drive should work as a directory for your settings and saved games.
If you want Microsoft to look at it up vote it from the feedback hub app in Windows 10. Should be able to find it using "minecraft onedrive" in the search.
Thanks for finding a relevant bug report. However, my logs indicate that the Fall Creators Update was installed in December 2017. The issue started right when the 1.12.2 update dropped across multiple machines of mine. It looks like there is more to it than that.
the new creators update was released on the last day of April this year, the name is confusing but it is different.
Edit: to clarify the most recent update a few days ago made further changes to the way onedrive behaves
1) It has worked in the past.
2) I'm not concerned about data. It's not going to burn anywhere near the bandwidth that streaming video would. The files are on my machine, the syncing is just backing them up to OneDrive so when I switch machines I retain skins/saved games/settings.
3) You can pause the syncing feature if you are that concerned about it.
4) Having the ability to make your settings and save games portable between machines is common sense. That is exactly what cloud services are for.
1) has worked doesn't mean it's supposed to work
2) some of my minecraft related files transfer gigabytes of data such as extremely high res texture packs and large map files which are normally stored locally.
3) having to pause or unpause defeats the purpose.
4) under normal circumstances that is correct but most games take snapshots of data or quick saves, minecraft is constantly R/W to its folder.
assuming you are on windows i could write a command line wrapper that would return this functionality for you at the cost of another icon on your desktop
I figured it out. Have the Launcher in your desktop via the Local Library and once it says it cant sync, go to the onedrive website and upload the launcher to onedrive. it'll change filenames frim .lnk or something to .exe on the website, then that'll sync to your local library and you can delete the other launcher file that doesn't sync.
I had been setting my game directory to a folder in my Onedrive account so I could keep settings etc. synced between machines. Recently it has stopped working. I get the following error when I try to launch the game:
Error details: Cannot create a file when that file already exists
Filename on disk: .minecraft
Path: C:/Users\xxxxx\OneDrive\.minecraft
Exists: true
I can launch the game if I delete the folder. However, that defeats the purpose of saving game directory all together.
Windows version 10 Pro 64-bit
OneDrive: 2018
Minecraft: 1.12.2
Minecraft launcher: 2.0.1003
I have reviewed the following bug and don't have any of the mentioned software on my machine: https://bugs.mojang.com/browse/MCL-5546
Use a regular directory, NOT OneDrive.
Not only is that not helpful, but it is plain rude. The reason to use a folder in OneDrive is to have your saves and such backed up automatically. If you do not have an actual solution, than why bother posting. The obvious answer is to not use OneDrive. But that does not really solve the problem does it?
Since Minecraft works in normal directory, but not OneDrive, that tells me it's an issue with OneDrive, complain to Microsoft.
This issue only occurs after OneDrive is updated to support Files On-Demand, alongside Windows 10 Fall Creators Update.
https://bugs.mojang.com/browse/MCL-8418
I suspect the change to Onedrive is to help prevent your files from being encrypted and then you being extorted in order to get your file back.
On that note, it appears I have found a work around.
1) Create a folder somewhere else (like Documents) for your Minecraft files.
2) Download and Install Synkron
http://synkron.sourceforge.net/
3) Set up a file sync between the Onedrive folder and the new folder.
4) Click on Scheduler and it to Sync Periodically. (You can set it for every 10 minutes, every 20 minutes or whatever you want)
5) Manually start the Sync for your Minecraft files.
6) Run Minecraft Launcher from the new location and play.
Synkron runs in the background all the time and you can either let it automatically sync, or you can manually run the sync after you exit Minecraft.
1) It has worked in the past.
2) I'm not concerned about data. It's not going to burn anywhere near the bandwidth that streaming video would. The files are on my machine, the syncing is just backing them up to OneDrive so when I switch machines I retain skins/saved games/settings.
3) You can pause the syncing feature if you are that concerned about it.
4) Having the ability to make your settings and save games portable between machines is common sense. That is exactly what cloud services are for.
I have posted on their site as well. However, they will likely say if I switch to the windows 10 version I won't have the issue. Also, the launcher has steadily become more and more restrictive. A couple months ago they broke the ability to use mounted drives in windows.
Thanks for finding a relevant bug report. However, my logs indicate that the Fall Creators Update was installed in December 2017. The issue started right when the 1.12.2 update dropped across multiple machines of mine. It looks like there is more to it than that.
Based on feedback from Microsoft, it is an issue with Minecraft not one drive. One drive should work as a directory for your settings and saved games.
Response from Microsoft forums
If you want Microsoft to look at it up vote it from the feedback hub app in Windows 10. Should be able to find it using "minecraft onedrive" in the search.
the new creators update was released on the last day of April this year, the name is confusing but it is different.
Edit: to clarify the most recent update a few days ago made further changes to the way onedrive behaves
1) has worked doesn't mean it's supposed to work
2) some of my minecraft related files transfer gigabytes of data such as extremely high res texture packs and large map files which are normally stored locally.
3) having to pause or unpause defeats the purpose.
4) under normal circumstances that is correct but most games take snapshots of data or quick saves, minecraft is constantly R/W to its folder.
assuming you are on windows i could write a command line wrapper that would return this functionality for you at the cost of another icon on your desktop
I figured it out. Have the Launcher in your desktop via the Local Library and once it says it cant sync, go to the onedrive website and upload the launcher to onedrive. it'll change filenames frim .lnk or something to .exe on the website, then that'll sync to your local library and you can delete the other launcher file that doesn't sync.