Thirdparty plugin in engine directory fails compilation

Trying to load a project, after adding the ‘FMODStudio’ plugin to the UE5 Engine directory, will produce an error:

ERROR: Expecting to find a type to be declared in a module rules named ‘FMODStudio’ in UE5Rules, Version=, Culture=neutral, PublicKeyToken=null. This type must derive from the ‘ModuleRules’ type defined by Unreal Build Tool.

This appears to have been an issue in 4.25, and seems to have been brought back to UE5 in early access UE-109436.

Welcome back to the community Colbaltasaur!

This error is quite interesting. There is a very similar thread here. This thread goes over copying the plugin from the Engine directory and placing it in the Plugins folder of your project.

I wish you the best in your development journey and I look forward to your reply if you require additional assistance.

That is indeed a workaround, that we are currently suggesting to users, but it’s not really a solution.

In UE4.25 this was remedied by a section in the UnrealBuildTool being commented out, it also stayed that way up to UE4.27, but now it looks like there was an attempt to fix this for UE5.

1 Like