So I went to get rid of the ‘Substance’ plugin from my project.
I right clicked my ‘.uproject’ file, and deleted the ‘substance’ entry from plugins (using Notepad++). When I saved and went to load the project, It said something like “plugin entry should have a name”, I’m not exactly sure what it said… I just went and removed the whole line of text, including ‘plugins’. Next time it opened, it asked what editor version to use (never did this before), but I still clicked ‘4.8’. Anyways, when I clicked ‘OK’, it just said “Couldn’t set association for project. Check if file is writable.”
Here’s the ‘.uproject’ file opened up in Notepad++:
If you add "Plugins": back to the .uproject then you will be able to get around the error and open the project.
As for removing the Substance plugin from the project, the best solution would be to simply disable the plugin so that the project is no longer using it.
Thanks for the reply, it worked!
One question though, how do I remove the plug in completely? I believe the plug in is causing an “AutomationTool” error, stopping me from launching the project…
If you open the Epic Games Launcher there is an “Installed Plugins” link under the listed engine version in the Library tab. If the editor is closed you can click this link to remove any engine plugins. The next time the project is opened you will be told that the project requires the plugin and be prompted to download it. Selecting No allows you to disable the plugin entirely.
If you remove the plugin in this way it will also affect other projects that are using the plugin. If you need/want to use the plugin in another project you will have to reinstall it.
Listen to the error, " it’s not writable". Try to make an edit and it will ask if you want to make it writable, that’s your answer/solution. Try to build your project after that and it should work.
Bump since this is a top google hit for the error "Couldn’t set association for project. Check the file is writeable”. Spaces in the top level directory name can cause this misleading error message.
For example:
“E:\Projects\MyGame” - generate project files works, no errors
Just in case this is run into in 5.0 and someone gets stumped im attaching this too this thread sense its similar and produces the same error message just posting this here incase anyone has similar problems
Option A and B will Work don’t Leave something like C it will create this error message might have too copy it and past it in vscode visual studio notepad++ etc too see what im talking about with the format of it or just open your uproject file and compare but it wont keep everything parsed the way it should be
Just ran into this, was due to a trailing comma and nothing to do with file permissions so the message should probably be tweaked to couldn’t parse or something unless it is really a permissions/readonly/locked issue.