Couldn't set association for project. Check if file is writeable

.uproject is undetected by the Epic Games Launcher and the error detailed above shows when trying to manually launch the file. No solution has worked, copypasting the version selector yields no effective result and notepad shows nothing.

Apologies for bumping a dead post, but I’m having this issue now. I started the project in 5.0, uploaded everything to github (collaborative project) and upgraded the project to 5.1. Did you find a solution trank?

For anyone is still looking for the solution: "Couldn't set association for project. Check the file is writeable" when trying to generate project files - #5 by quano1

“C:/Program Files/Epic Games/UE_5.1/Engine/Build/BatchFiles/Build.bat” -projectfiles -project=“D:/Unreal Projects/MyProject/MyProject.uproject” -game -rocket -progress

When I deleted the plugin array from the uproject file, it started to work.

For me, the reason is that there is a Conflict in projectName.project file, after I git pull the Dir, you can check it.