UGC Build Errors

Hi ,
Bit of an old topic but I found the cause of your problem and an intermediate solution. Basically the plugin wizard that is invoked by creating a new mod has no way to know it is creating “mod” as it were and fails the simple task of determining that UE4 already knows where the mods directory is and instead treats the directory as an additional plugin directory in AddToPluginSearchPathIfNeeded
this marks your .uproject file in a bad way, causing the search directory it adds to be redundant, permanently borking your editor.
UE4 is a big project and these things are bound to happen, the interim solution is to simply open your .uproject file in a text editor and remove the “Mods” entry from
“AdditionalPluginDirectories”: [
“Mods”
]
I am considering sending a PR for the plugin creation wizard so that it intelligently detects the mods directory and does not ever add it, but there are a number of reasons that might not be a good idea, for now you can use this method if you want to.
Happy modding!

-Jasooooo

2 Likes