Missing "ProjectName" Modules UE4Editor-"Name".dll

WIN 7; 4.6.1

Whenever I make a new CPP project (4.6.1) the editor never comes up, it appears to be silently crashing.
Upon relaunching my project I’m greeted by a “Missing Modules” window

And it says UE4Editor-“ProjectName”.dll is missing or built with an older version.

Clicking Yes will fix it and everything works fine afterwards.

This happens every time I make a new CPP project, BP projects work perfectly fine.

Tried a fresh install of 4.6.1 but the issue remains.

Any ideas?

When you create a new C++ project it first opens in Visual Studio rather than the editor. In VS you then need to build the solution for the project prior to opening it in Editor the first time.

Cheers

welp, now I feel really dumb since I should know this… heh Thanks anyway :slight_smile:

I’m using a console version of UE which is built with 4.9.0, and I still have this issue. But if I create a c++ project using official UE 4.9.0 (and 4.9.1) and it’s fine, the editor would open automatically after visual studio. Is there any problem of console version of UE?

If I use official 4.9.1, and I create a C++ project, the editor would minimize, then the VS comes up, then the editor comes up, and everything is automatic, I don’t have to manually press build in VS, i guess it’s been changed in some version after 4.6.1 (which is this Q and A based on)?

Hey -

When you say the console version of UE4 are you referring to the engine built from GitHub source? The biggest difference between the binary version and the source version is that the binary version will automatically build a new project when it is created where the source version does not automatically build the project.

Hi, first for my bad english.
I’m doing the TwinStick shooter game videotutorial series and i have that error after creating a c++ class (when the project is blank except some boxes for the map) and creating it, when it reports
“Successfully added class ‘BaseCharacter’(C++ class name), however you must recompile the ‘TwinStickShooter’(project name) module before it will appear in the Content Browser. Error al generar archivos del proyecto.
Would you like to open the Output Log to see more details?”
If I do, it creates the C++ class but it not appears, and i cannot open it or search it with Visual Studio. When i recompile it, appears this:
“UE4Editor-“TwinStickShooter”(Project name).dll is missing or built with an older version.”

Hope you can help me with this

Hey sedrik93-

Was the project created in a different engine version than you’re currently working in? (such as being created in 4.9.2 and upgraded to 4.10)? Also, what class were you adding to the project (Actor, Object, Character, SceneComponent, etc.)?

1 Like

I appear to have errors in building my project from visual studio. I the .log file in C:\Users\USERNAME\Documents\Unreal Projects\PROJECTNAME\Intermediate\Build\Unused folder and it said that HEADERFILE.h should be the 1st header in the .CPP file. So i i fixed it. After I did I rebuilt the project solution and than clean solution than rebuild solution

1>------ Rebuild All started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
2>------ Rebuild All started: Project: Lucian, Configuration: DebugGame_Editor x64 ------
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Oleg\Documents\Unreal Projects\Lucian\Intermediate\ProjectFiles\UE4.vcxproj]
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Oleg\Documents\Unreal Projects\Lucian\Intermediate\ProjectFiles\Lucian.vcxproj]
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Oleg\Documents\Unreal Projects\Lucian\Intermediate\ProjectFiles\UE4.vcxproj]
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Oleg\Documents\Unreal Projects\Lucian\Intermediate\ProjectFiles\Lucian.vcxproj]
2>Cleaning LucianEditor Binaries...
2>Performing full C++ include scan (building a new target)
2>Creating makefile for LucianEditor (no existing makefile)
2>Performing full C++ include scan (no include cache file)
2>Parsing headers for LucianEditor
2>  Running UnrealHeaderTool "C:\Users\Oleg\Documents\Unreal Projects\Lucian\Lucian.uproject" "C:\Users\Oleg\Documents\Unreal Projects\Lucian\Intermediate\Build\Win64\LucianEditor\DebugGame\LucianEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
2>Reflection code generated for LucianEditor in 26.9101988 seconds
2>Distributing 13 actions to XGE
2>--------------------Build System Warning---------------------------------------
2>License is invalid:
2>    License information is invalid. Please try reloading your license file using the Coordinator Monitor application on the Coordinator machine, or reinstall IncrediBuild.
2>    This build will run in standalone mode.
2>
2>-------------------------------------------------------------------------------
2>--------------------Project: Default-------------------------------------------
2>SharedPCH.Engine.NonOptimized.cpp (1:07.76 at +0:00)
2>Des.cpp (0:00.75 at +1:07)
2>Lucian.cpp (0:00.81 at +1:08)
2>LucianCharacter.cpp (0:02.45 at +1:09)
2>LucianGameMode.cpp (0:00.82 at +1:11)
2>C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(19): error C2144: syntax error: 'void' should be preceded by ';'
2>C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(19): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(19): error C3158: 'BeginPlay': 'override' can only be applied to a virtual member function
2>C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(19): error C2575: 'BeginPlay': only member functions and bases can be virtual
2>C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(21): error C2509: 'BeginPlay': member function not declared in 'ALucianGameMode'
2>c:\users\oleg\documents\unreal projects\lucian\source\lucian\LucianGameMode.h(10): note: see declaration of 'ALucianGameMode'
2>
2>Error executing C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe (tool returned code: 2)
2>---------------------- Done ----------------------
2>
2>    Rebuild All: 0 succeeded, 1 failed, 0 skipped
2>
2>1 build system warning(s):
2>   - License is invalid
2>
2>
2>
2>ERROR : UBT error : Failed to produce item: C:\Users\Oleg\Documents\Unreal Projects\Lucian\Binaries\Win64\UE4Editor-Lucian-Win64-DebugGame.dll
2>Total build time: 193.84 seconds (XGE executor: 0.00 seconds)
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(46,5): error MSB3073: The command ""C:\Program Files\Epic Games\UE_4.18\Engine\Build\BatchFiles\Rebuild.bat" LucianEditor Win64 DebugGame "C:\Users\Oleg\Documents\Unreal Projects\Lucian\Lucian.uproject" -waitmutex" exited with code -1.
2>Done building project "Lucian.vcxproj" -- FAILED.
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

As you noticed it said project failed to built that is because of some of the keywords and functions in Unreal Script that the CPP framework is unknown to. I currently had a invaild license of Incredibuild now am uninstalling it. Because that might be interacting with the building of the code negativitly.

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Oleg\Documents\Unreal Projects\Lucian\Intermediate\ProjectFiles\UE4.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Oleg\Documents\Unreal Projects\Lucian\Intermediate\ProjectFiles\Lucian.vcxproj]
  Cleaning LucianEditor Binaries...
  Performing full C++ include scan (building a new target)
  Creating makefile for LucianEditor (no existing makefile)
  Performing full C++ include scan (no include cache file)
  Parsing headers for LucianEditor
    Running UnrealHeaderTool "C:\Users\Oleg\Documents\Unreal Projects\Lucian\Lucian.uproject" "C:\Users\Oleg\Documents\Unreal Projects\Lucian\Intermediate\Build\Win64\LucianEditor\DebugGame\LucianEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
  Reflection code generated for LucianEditor in 26.9101988 seconds
  Distributing 13 actions to XGE
  --------------------Build System Warning---------------------------------------
  License is invalid:
      License information is invalid. Please try reloading your license file using the Coordinator Monitor application on the Coordinator machine, or reinstall IncrediBuild.
      This build will run in standalone mode.
  
  -------------------------------------------------------------------------------
  --------------------Project: Default-------------------------------------------
  SharedPCH.Engine.NonOptimized.cpp (1:07.76 at +0:00)
  Des.cpp (0:00.75 at +1:07)
  Lucian.cpp (0:00.81 at +1:08)
  LucianCharacter.cpp (0:02.45 at +1:09)
  LucianGameMode.cpp (0:00.82 at +1:11)
C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(19): error C2144: syntax error: 'void' should be preceded by ';'
C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(19): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(19): error C3158: 'BeginPlay': 'override' can only be applied to a virtual member function
C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(19): error C2575: 'BeginPlay': only member functions and bases can be virtual
C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(21): error C2509: 'BeginPlay': member function not declared in 'ALucianGameMode'
  c:\users\oleg\documents\unreal projects\lucian\source\lucian\LucianGameMode.h(10): note: see declaration of 'ALucianGameMode'
  
  Error executing C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe (tool returned code: 2)
  ---------------------- Done ----------------------
   
      Rebuild All: 0 succeeded, 1 failed, 0 skipped
   
  1 build system warning(s):
     - License is invalid
   
  
  
ERROR : UBT error : Failed to produce item: C:\Users\Oleg\Documents\Unreal Projects\Lucian\Binaries\Win64\UE4Editor-Lucian-Win64-DebugGame.dll
  Total build time: 193.84 seconds (XGE executor: 0.00 seconds)
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(46,5): error MSB3073: The command ""C:\Program Files\Epic Games\UE_4.18\Engine\Build\BatchFiles\Rebuild.bat" LucianEditor Win64 DebugGame "C:\Users\Oleg\Documents\Unreal Projects\Lucian\Lucian.uproject" -waitmutex" exited with code -1.

So now uninstalled Incredibuild. Opening the .uproject file and rebuilding the .DLL

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Oleg\Documents\Unreal Projects\Lucian\Intermediate\ProjectFiles\UE4.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Oleg\Documents\Unreal Projects\Lucian\Intermediate\ProjectFiles\Lucian.vcxproj]
  Cleaning LucianEditor Binaries...
  Performing full C++ include scan (building a new target)
  Creating makefile for LucianEditor (no existing makefile)
  Performing full C++ include scan (no include cache file)
  Parsing headers for LucianEditor
    Running UnrealHeaderTool "C:\Users\Oleg\Documents\Unreal Projects\Lucian\Lucian.uproject" "C:\Users\Oleg\Documents\Unreal Projects\Lucian\Intermediate\Build\Win64\LucianEditor\DebugGame\LucianEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
  Reflection code generated for LucianEditor in 26.9101988 seconds
  Distributing 13 actions to XGE
  --------------------Build System Warning---------------------------------------
  License is invalid:
      License information is invalid. Please try reloading your license file using the Coordinator Monitor application on the Coordinator machine, or reinstall IncrediBuild.
      This build will run in standalone mode.
  
  -------------------------------------------------------------------------------
  --------------------Project: Default-------------------------------------------
  SharedPCH.Engine.NonOptimized.cpp (1:07.76 at +0:00)
  Des.cpp (0:00.75 at +1:07)
  Lucian.cpp (0:00.81 at +1:08)
  LucianCharacter.cpp (0:02.45 at +1:09)
  LucianGameMode.cpp (0:00.82 at +1:11)
C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(19): error C2144: syntax error: 'void' should be preceded by ';'
C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(19): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(19): error C3158: 'BeginPlay': 'override' can only be applied to a virtual member function
C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(19): error C2575: 'BeginPlay': only member functions and bases can be virtual
C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp(21): error C2509: 'BeginPlay': member function not declared in 'ALucianGameMode'
  c:\users\oleg\documents\unreal projects\lucian\source\lucian\LucianGameMode.h(10): note: see declaration of 'ALucianGameMode'
  
  Error executing C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe (tool returned code: 2)
  ---------------------- Done ----------------------
   
      Rebuild All: 0 succeeded, 1 failed, 0 skipped
   
  1 build system warning(s):
     - License is invalid
   
  
  
ERROR : UBT error : Failed to produce item: C:\Users\Oleg\Documents\Unreal Projects\Lucian\Binaries\Win64\UE4Editor-Lucian-Win64-DebugGame.dll
  Total build time: 193.84 seconds (XGE executor: 0.00 seconds)
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(46,5): error MSB3073: The command ""C:\Program Files\Epic Games\UE_4.18\Engine\Build\BatchFiles\Rebuild.bat" LucianEditor Win64 DebugGame "C:\Users\Oleg\Documents\Unreal Projects\Lucian\Lucian.uproject" -waitmutex" exited with code -1.

So now opening VS and rebuilding and cleaning than rebuilding

Severity	Code	Description	Project	File	Line	Suppression State
Error	C3158	'BeginPlay': 'override' can only be applied to a virtual member function	Lucian	C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp	19	
Error	C2144	syntax error: 'void' should be preceded by ';'	Lucian	C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp	19	
Error	C4430	missing type specifier - int assumed. Note: C++ does not support default-int	Lucian	C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp	19	
Error	C2575	'BeginPlay': only member functions and bases can be virtual	Lucian	C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp	19	
Error	C2509	'BeginPlay': member function not declared in 'ALucianGameMode'	Lucian	C:\Users\Oleg\Documents\Unreal Projects\Lucian\Source\Lucian\LucianGameMode.cpp	21	
Error		Failed to produce item: C:\Users\Oleg\Documents\Unreal Projects\Lucian\Binaries\Win64\UE4Editor-Lucian-Win64-DebugGame.dll	Lucian	C:\Users\Oleg\Documents\Unreal Projects\Lucian\Intermediate\ProjectFiles\ERROR	1	
Error	MSB3073	The command ""C:\Program Files\Epic Games\UE_4.18\Engine\Build\BatchFiles\Rebuild.bat" LucianEditor Win64 DebugGame "C:\Users\Oleg\Documents\Unreal Projects\Lucian\Lucian.uproject" -waitmutex" exited with code -1.	Lucian	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets	46	

These are the errors upon rebuilding. I notice (Error C3158) the phraser

//Inside PROJECTNAMEGameMode.cpp
virtual void BeginPlay() override;

virtual void ALucianGameMode::BeginPlay() {
	Super::BeginPlay();
	GEngine->AddOnScreenDebugMessage(
		-1, -1, 
		FColor::Red, 
		TEXT("Actor Des Spawning"));

	PTransform SpawnLocation;
	GetWorld()->SpawnActor<Des>(
		ADes::StaticClass(),
		&SpawnLocation
		);


}

Now i add that… And Rebuild still errors…

here is the edited code after errors

#include "LucianGameMode.h"
#include "LucianCharacter.h"
#include "Des.h"
#include "UObject/ConstructorHelpers.h"

ALucianGameMode::ALucianGameMode()
{
	// set default pawn class to our Blueprinted character
	static ConstructorHelpers::FClassFinder<APawn> PlayerPawnBPClass(TEXT("/Game/ThirdPersonCPP/Blueprints/ThirdPersonCharacter"));
	if (PlayerPawnBPClass.Class != NULL)
	{
		DefaultPawnClass = PlayerPawnBPClass.Class;
	}
}



virtual void BeginPlay()[ override;

virtual void ALucianGameMode::BeginPlay() {
	Super::BeginPlay();
	GEngine->AddOnScreenDebugMessage(
		-1, -1, 
		FColor::Red, 
		TEXT("Actor Des Spawning"));

	PTransform SpawnLocation;
	GetWorld()->SpawnActor<Des>(
		ADes::StaticClass(),
		&SpawnLocation
		);


}]

Sorry im still learning C++. Im more experinced with JAVA and C. So i decided to delete the Des.h and Des.cpp files and refactor my code. Now attempting to rebuild. I just want the Unreal to load my project. A class i just started can be re entered from a tutorial i am reading.

218353-reb.png

218354-load.png

Success kinda…

Conclusion. The new c++ class had error failing to build the solution. Crashing the building of the .DLL
The DLL was missing because the code was edited and there were many errors. Upon re-executing unreal the DLL was missing.

You should take out every project out of the Unreal Projects folder and transfer them into a new folder somewhere easily access. Than start a new project. It wont build right away and you will still have missing DLL. You right click uproject file and than generate vs code. Than you open VS and clean solution. IF the solutions are clean the debugger will pose less errors. Than you build both solutions. It will still ask you to build missing DLL. You do so as you open the new project and it should open the editor. Now before you open the editor go find all assests in the transfered content folder and copy and paste them into your new project content folder. Than right click uproject and generate VS code. Than when the Editor opens it automatically imports assests. Havent figure out how to auto import c++ classes. Currently im following a cookbook and had nurmeros errors. Some plugins will say outdated version can not run or something like that. The newer version of the engine may already have intergrated plugins. You going to have to import C++ classes one by one because some of the execution of the code may constrict some code in a sort of short curcit.