When I Play->Standalone, my test project will run. But when I attempt to Launch->PC (or Package), I get the following crash…
The UE4-MyProject Game has crashed and will close
Assertion failed: Module.IsValid() [File:D:\projects\Unreal Engine\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp] [Line: 245]
Invalid module UE4Game
KERNELBASE.dll!UnknownFunction (0x000007fefd7e940d) + 0 bytes [UnknownFile:0]
MyProject.exe!FOutputDeviceWindowsError::Serialize() (0x000000013f82c955) + 0 bytes [d:\projects\unreal engine\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
MyProject.exe!FOutputDevice::Logf__VA() (0x000000013f6a2508) + 159 bytes [d:\projects\unreal engine\engine\source\runtime\core\private\misc\outputdevice.cpp:144]
MyProject.exe!FDebug::AssertFailed() (0x000000013f680db5) + 121 bytes [d:\projects\unreal engine\engine\source\runtime\core\private\misc\outputdevice.cpp:224]
MyProject.exe!FModuleManager::LoadModuleChecked() (0x000000013f732c78) + 76 bytes [d:\projects\unreal engine\engine\source\runtime\core\private\modules\modulemanager.cpp:245]
MyProject.exe!FProjectManager::LoadModulesForProject() (0x000000013f848a98) + 51 bytes [d:\projects\unreal engine\engine\source\runtime\projects\private\projectmanager.cpp:99]
MyProject.exe!FEngineLoop::LoadStartupModules() (0x000000013f559578) + 20 bytes [d:\projects\unreal engine\engine\source\runtime\launch\private\launchengineloop.cpp:1808]
MyProject.exe!FEngineLoop::PreInit() (0x000000013f55cc4c) + 8 bytes [d:\projects\unreal engine\engine\source\runtime\launch\private\launchengineloop.cpp:1373]
MyProject.exe!GuardedMain() (0x000000013f55554b) + 15 bytes [d:\projects\unreal engine\engine\source\runtime\launch\private\launch.cpp:110]
MyProject.exe!GuardedMainWrapper() (0x000000013f55565a) + 5 bytes [d:\projects\unreal engine\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
MyProject.exe!WinMain() (0x000000013f5628e9) + 17 bytes [d:\projects\unreal engine\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
MyProject.exe!__tmainCRTStartup() (0x000000014217051d) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
kernel32.dll!UnknownFunction (0x00000000776859ed) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00000000777bc541) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00000000777bc541) + 0 bytes [UnknownFile:0]
I’m primarily using/building the Development Editor (and less often Debug Editor) from source.
Invalid module UE4Game doesn’t make a lot of sense to me - what’s up with that?
What are the techniques I should be using to resolve invalid module?
If I look at my package’s MyProject/Binaries/Win64/MyProject.exe, the file size is around 62mb (the pdb is 400mb) - so I’d be surprised if things are actually missing.