The following modules are missing or build with a different engine version

So I was trying to add some type of voice chat into our game. When I added Voice Chat plugin I got an error promt with the message in my questions title and the plugin name as Voice Chat.

I removed the plugin and now I have the same problem but with 3 other plugins that I have been using for months now. I tried to search for some solution but did not get to anywhere with those.

Here is an image of it:
image

When I click on Yes, this is what I get:
image

I am clueless so any help would be appreciated!

You need to add the modules into your projects build.cs file.

Also make sure your project is actually built (via the uproject file)

2 Likes

How can I add the modules to the build.cs file?

This is how my Build.cs looks like now:

You still need to add the AdvancedSessions module

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" , "AdvancedSessions" });
1 Like

I still get the error: “could not be compiled. Try rebuilding from source manually.”

Do you have the plugins source for “adv session” and “adv session steam” in your plugins folder?

If you mean these then yes, they are in my Project/Plugins folder
image

There are quite a few steps with configs

Also if you upgraded engines at any point then you need to add the build order correction
so if you update to 5.4

add to your build cs

IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_4;

I am on 5.3 and not planing to switch to 5.4 with this game.
I’ll watch this video but I am pretty sure I saw this one earlier.

AdvSteamProj.zip (273.1 KB)
An old small project of mine with adv session steam that compiles and packs

I get the same error with your project aswell.

Did you rebuild the project from the uproject file and build & run it from your IDE?

You can’t just run the uproject file by itself once its c++

No, I forgot to do that. I just messed up my VS, so I am reinstalling it now.

Okay I rebuilt your project and it started as it should, but mine still does not wan to. I get the same error.

Compare the build cs files & uproject plugin entries.

They are the same now, I rebuilded my project in Visual Studio but it still cannot open.

What errors is vs showing?

It does not have any error
image

run
Then run it with the debugger (filled green tiangle) or the empty green triangle (without debugging)

Also make sure your project is the default startup project (in bold)
obraz

Build started at 18:22...
1>------ Build started: Project: Anomalies, Configuration: Development_Editor x64 ------
1>Using bundled DotNet SDK version: 6.0.302
1>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" AnomaliesEditor Win64 Development -Project="D:\Programozas\Perforce\Anomalies\Anomalies.uproject" -WaitMutex -FromMsBuild
1>Log file: C:\Users\varga\AppData\Local\UnrealBuildTool\Log.txt
1>Creating makefile for AnomaliesEditor (no existing makefile)
1>Total execution time: 1.23 seconds
1>Expecting to find a type to be declared in a module rules named 'MoHttp' in UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.  This type must derive from the 'ModuleRules' type defined by Unreal Build Tool.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command "D:\Programozas\App\UE_5.3\Engine\Build\BatchFiles\Build.bat AnomaliesEditor Win64 Development -Project="D:\Programozas\Perforce\Anomalies\Anomalies.uproject" -WaitMutex -FromMsBuild" exited with code 6.
1>Done building project "Anomalies.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 10 up-to-date, 0 skipped ==========
========== Build completed at 18:22 and took 05,718 seconds ==========

This is the error I am getting after running the debugger.
I have already set my project as the default startup project.