Brand new 5.2 C++ project. Expecting to find a type to be declared in a module rules named 'MetaHumanProjectUtilities'.....

Hi all,
I just created a brand new 5.2, C++ project. Absolutely no code changes, nothing added.
On very first compile of empty project, I am getting this error.

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

I’ve seen other posts similar to this where they say move a plugin to the Epic plugins folder. However, I have no plugins yet in this project, I have not added anything to this at all. 100% brand new bare bones.

Any help will be greatly appreciated.

13 Likes

I am experiencing the same issue. Was fine yesterday, but today I am getting the error that you described. Only thing that changed was an update to the Quixel Bridge plugin.

3 Likes

Update. Uninstalling the Quixel Bridge plugin from the engine “fixed” the issue, so I can confirm that the issue is related to the plugin.

8 Likes

Sadly this helped, hopefully there’ll be another update soon to fix this issue, it’s not the first time a quixel update has broke the editor haha

I deleted that project after a few failed attempts at correcting the issue.
I ensured that I had the latest C++ libraries via VS Installer.
Could it be the .NET version? Is there a specific version the UE build needs?

Created yet another brand new project. This time, I allowed UE to auto launch Visual Studio…

Got this error.

Running C:/Program Files/Epic Games/UE_5.2/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“C:/DEVELOPMENT/UE_WORKSPACE/J52/J52.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Development Win64 -Project=“C:/DEVELOPMENT/UE_WORKSPACE/J52/J52.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\qp782f\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for J52Editor (no existing makefile)
Expecting to find a type to be declared in a module rules named ‘MetaHumanProjectUtilities’ in UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the ‘ModuleRules’ type defined by Unreal Build Tool.

How did you uninstall QB? Games Launcher doesn’t give me the option. I click the button and it only gives the error, that I can’t install it because it’s already installed.

I tried deleting the QB plugin out of the plugins folder, but that didn’t work… I still get the exact same compile error…

Having this issue on two machines now, one running VS 2019 and one running VS 2022.

Screenshot_5

Click on “Installed Plugins” and then click on “Remove”

1 Like

Screenshot_14

2 Likes

Oh geeze!!! How did I miss that! Wow man… I need to pay better attention. :grin:

Can confirm that this is broken. Looks like Quixel pushed a broken patch. Uninstalling fixes it.

The error was:

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

3 Likes

Installing the update worked for me as well.

https://forums.unrealengine.com/t/visual-studio-2022-17-6-3-error/1198682

1 Like

Is there any way to install the previous version of the plugin?

yes, this is qb bug. did someone report it to unreal?

1 Like

This helped immensely, thank you!

You don’t need to uninstall Bridge Plugin if you want to use Bridge in your project.
Simple copy the Bridge plugin into your project in a plugins folder will also work and you can compile the project without this error.

Thanks all… I had to Uninstall it as well, Now that I have, things seem to compile!

Not working!!! UE 5.2 C++.

Only when delete plugin Quixel Bridge.

Thank you guys! yes uninstalling it solved issue for me too.

UE_5.2\Engine\Plugins\Bridge\Bridge.uplugin
VS
UE_5.1\Engine\Plugins\Bridge\Bridge.uplugin

1 Like

update bridge in the engine choice project panel and rebuild project