# Couldn't set association for project. Check if file is writable. (After deleting plugin field)

**URL:** <https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, UE4, question\
**Created:** [February 26, 2016, 11:50pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823 "2016-02-26T23:50:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krilium](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krilium](https://forums.unrealengine.com/u/Krilium)\
**Post date:** [February 26, 2016, 11:50pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/1 "2016-02-26T23:50:39Z")

</div>

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++:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/a/3aee658d56123c0c997ebac14df46dd0efe16cdf.jpeg) ](https://snipboard.io/OuzL7.jpg)

---

<div class="post-metadata">

**Author:** ![Krilium](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krilium](https://forums.unrealengine.com/u/Krilium)\
**Post date:** [February 26, 2016, 11:52pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/2 "2016-02-26T23:52:38Z")

</div>

I noticed the missing bracket at the end, that still didn’t change anything.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [February 29, 2016, 9:19pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/3 "2016-02-29T21:19:11Z")

</div>

Hey HastagPulse-

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.

Cheers

---

<div class="post-metadata">

**Author:** ![Krilium](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krilium](https://forums.unrealengine.com/u/Krilium)\
**Post date:** [March 1, 2016, 3:25am UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/4 "2016-03-01T03:25:30Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 1, 2016, 2:38pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/5 "2016-03-01T14:38:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![borisquezadaa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@borisquezadaa](https://forums.unrealengine.com/u/borisquezadaa)\
**Post date:** [November 28, 2016, 7:51pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/6 "2016-11-28T19:51:19Z")

</div>

Thanks!. It works!.

---

<div class="post-metadata">

**Author:** ![Dr.Widgit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dr.Widgit](https://forums.unrealengine.com/u/Dr.Widgit)\
**Post date:** [December 15, 2016, 2:19am UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/7 "2016-12-15T02:19:23Z")

</div>

I ran into the same problem… but I found it was that extra comma at the end causing the issue.

---

<div class="post-metadata">

**Author:** ![GeekToBe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GeekToBe](https://forums.unrealengine.com/u/GeekToBe)\
**Post date:** [November 10, 2018, 10:44pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/8 "2018-11-10T22:44:02Z")

</div>

I had the same problem, I had just forgotten to remove the comma at the end. You should have something like this:

**{**  
“FileVersion”: 3,  
“EngineAssociation”: “4.21”,  
“Category”: “”,  
“Description”: “”  
**}**

---

<div class="post-metadata">

**Author:** ![jakandneppy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jakandneppy](https://forums.unrealengine.com/u/jakandneppy)\
**Post date:** [November 16, 2018, 1:24am UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/9 "2018-11-16T01:24:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Boseoma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Boseoma](https://forums.unrealengine.com/u/Boseoma)\
**Post date:** [October 8, 2019, 11:26am UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/10 "2019-10-08T11:26:44Z")

</div>

thank you, it’s working now :=)

---

<div class="post-metadata">

**Author:** ![JonathanArmstrong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JonathanArmstrong](https://forums.unrealengine.com/u/JonathanArmstrong)\
**Post date:** [September 4, 2020, 4:54pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/11 "2020-09-04T16:54:38Z")

</div>

My issue was that I was trying to comment out multiple lines, instead of removing the text from the .uproject file.

```
; This is a comment. It does not work in the .uproject file...DELETE THIS FULL LINE!

```

It seems it _does not_ have the same behavior as a .ini file, and commenting out text doesn’t work.The fix was to remove the comment from the file.

---

<div class="post-metadata">

**Author:** ![Shmoopy1701](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shmoopy1701/32/1194536_2.png) [@Shmoopy1701](https://forums.unrealengine.com/u/Shmoopy1701)\
**Post date:** [November 30, 2020, 9:18pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/12 "2020-11-30T21:18:36Z")

</div>

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

“E:\Projects\My Game” - generate project files fails, with above error message

---

<div class="post-metadata">

**Author:** ![creativ3lab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@creativ3lab](https://forums.unrealengine.com/u/creativ3lab)\
**Post date:** [September 6, 2021, 8:45am UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/13 "2021-09-06T08:45:32Z")

</div>

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

==============================================  
Option A  
{  
“FileVersion”: 3,  
“EngineAssociation”: “5.0”,  
“Category”: “”,  
“Description”: “”,  
“Modules”: [  
{  
“Name”: “Project\_Name”,  
“Type”: “Runtime”,  
“LoadingPhase”: “Default”  
}  
]  
}

==============================================  
Option B  
{  
“FileVersion”: 3,  
“EngineAssociation”: “5.0”,  
“Category”: “”,  
“Description”: “”,  
“Modules”: [  
{  
“Name”: “Project\_Name”,  
“Type”: “Runtime”,  
“LoadingPhase”: “Default”  
}  
],  
“Plugins” : [  
{  
“Name” : “PluginName”  
“Enabled” : “True”  
}  
]  
}

==============================================  
Option C  
{  
“FileVersion”: 3,  
“EngineAssociation”: “5.0”,  
“Category”: “”,  
“Description”: “”,  
“Modules”: [  
{  
“Name”: “Project\_Name”,  
“Type”: “Runtime”,  
“LoadingPhase”: “Default”  
}  
],  
“Plugins” : [  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![MrHardo1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrHardo1](https://forums.unrealengine.com/u/MrHardo1)\
**Post date:** [February 23, 2023, 1:10am UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/14 "2023-02-23T01:10:49Z")

</div>

None of the solutions here made any difference for me. The solution was to right click the .uproject file and uncheck " only"

---

<div class="post-metadata">

**Author:** ![Otterfx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Otterfx](https://forums.unrealengine.com/u/Otterfx)\
**Post date:** [August 8, 2023, 2:00pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/15 "2023-08-08T14:00:07Z")

</div>

Uncheck read only- problem solved

---

<div class="post-metadata">

**Author:** ![TheApexDevil](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/theapexdevil/32/736936_2.png) [@TheApexDevil](https://forums.unrealengine.com/u/TheApexDevil)\
**Post date:** [August 12, 2023, 5:29pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/16 "2023-08-12T17:29:48Z")

</div>

{  
FileVersion: 3,  
EngineAssociation: “4.8”,  
Category: ‘’',  
Description: “”,

if you ever get this again Here is you mistake

its missing the closing bracket

change it to (FIX)

{  
FileVersion: 3,  
EngineAssociation: “4.8”,  
Category: ‘’',  
Description: “”,  
}

---

<div class="post-metadata">

**Author:** ![HeartHunter2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HeartHunter2](https://forums.unrealengine.com/u/HeartHunter2)\
**Post date:** [February 6, 2024, 1:17pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/17 "2024-02-06T13:17:20Z")

</div>

Thanks, its work.

---

<div class="post-metadata">

**Author:** ![ADJNA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/adjna/32/891067_2.png) [@ADJNA](https://forums.unrealengine.com/u/ADJNA)\
**Post date:** [February 15, 2024, 12:26pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/18 "2024-02-15T12:26:49Z")

</div>

It worked for me.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/3/5d3b120a2ab9cc0d255487bcaf29d8ed3569f079.jpeg "Unreal Engine - "Couldn't set association for project" - Quick Fix") ](https://www.youtube.com/watch?v=AG0BykpQxuo)

---

<div class="post-metadata">

**Author:** ![muchcharles](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@muchcharles](https://forums.unrealengine.com/u/muchcharles)\
**Post date:** [May 13, 2024, 6:48pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/19 "2024-05-13T18:48:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ampEd6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ampEd6](https://forums.unrealengine.com/u/ampEd6)\
**Post date:** [May 29, 2025, 7:05pm UTC](https://forums.unrealengine.com/t/couldnt-set-association-for-project-check-if-file-is-writable-after-deleting-plugin-field/348823/20 "2025-05-29T19:05:33Z")

</div>

Also ran into this, it was indeed a trailing comma like @muchcharles said.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/7/6/e76931fe9b40ed0b9c9e6811509dc9523081a397.png)
