Hello. I am new to unreal engine. and when I want to build my project with a game mode base I am greeted to this error:
Severity | Code | Description | Project | File | Line | Suppression State | Details |
---|---|---|---|---|---|---|---|
Error | MSB3073 | The command C:\Program Files\Epic Games\UE_5.4\Engine\Build\BatchFiles\Build.bat MyProject17Editor Win64 Development -Project=C:\Users\Bohlen4\Documents\Unreal Projects\MyProject17\MyProject17.uproject -WaitMutex -FromMsBuild -architecture=x64 exited with code 6. | MyProject17 | C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets | 44 |
Also, I think unreal engine is supposed to create a game mode base by default, but my unreal engine doesnât do that, so I have to create it is that a problem? (Iâm using unreal engine in C++)
And I have installed every needed package for visual studio and my graphicâs driver is up to date
Also, unreal engine runs fine (No lagging)
I have tried to remove plugins, but it didnât work
Iâm using C++ UE 5.4.2 Visual studio 2022 latest version
I have these installed on my visual studio:
ASP .NET and web development
Node.js development
.NET desktop development
Desktop development with C++
Windows application development
Game development with Unity
Data storage and processing
Data science and analytical application
Linux and embedded development with C++
hereâs the .uproject file:
"FileVersion": 3,
"EngineAssociation": "5.4",
"Category": "",
"Description": "",
"Modules": [
{
"Name": "MyProject17",
"Type": "Runtime",
"LoadingPhase": "Default",
"AdditionalDependencies": [
"Engine"
]
}
],
"Plugins": [
{
"Name": "ModelingToolsEditorMode",
"Enabled": true,
"TargetAllowList": [
"Editor"
]
}
]
}
if I clean the project then build it these errors come up:
Severity | Code | Description | Project | File | Line | Suppression State | Details |
---|---|---|---|---|---|---|---|
Error (active) | CS0246 | The type or namespace name âUnrealBuildToolâ could not be found (are you missing a using directive or an assembly reference?) | ScriptGeneratorUbtPlugin.ubtplugin | C:\Program Files\Epic Games\UE_5.4\Engine\Plugins\ScriptPlugin\Source\ScriptGeneratorUbtPlugin\ScriptCodeGeneratorBase.cs | 12 | ||
Severity | Code | Description | Project | File | Line | Suppression State | Details |
â | â | â | â | â | â | â | â |
Error | MSB3073 | The command C:\Program Files\Epic Games\UE_5.4\Engine\Build\BatchFiles\Build.bat MyProject17Editor Win64 Development -Project=C:\Users\Bohlen4\Documents\Unreal Projects\MyProject17\MyProject17.uproject -WaitMutex -FromMsBuild -architecture=x64 exited with code 6. | MyProject17 | C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets | 44 |