Description

Packaging with the [experimental] Code Editor plugin enabled causes a crash during the packaging process in 4.8 source. The crash does not kill the editor, project can recover by choosing for Windows to find a solution, but then the build fails.

Steps to Reproduce

1. Create Third Person Example Map in C++
2. Enable the 'Code Editor' plugin and restart
3. Package the project for Android, in development and ETC1

Results: Crash occurs during package and build fails

Callstack
Assertion failed: IsValid() [File:D:\UE4\UE4-Releases\UE4-Source\UnrealEngine\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h] [Line: 687] 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: KERNELBASE.dll {0x000007fefd1c940d} + 0 bytes
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize() {0x000007fedb7c780f} + 0 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Core.dll!FOutputDevice::Logf__VA() {0x000007fedb680d08} + 159 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Core.dll!FDebug::AssertFailed() {0x000007fedb651ac2} + 65 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Slate.dll!TCommands<FGenericCommands>::Get() {0x000007fed7a1b11d} + 121 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-MainFrame.dll!FMainFrameCommands::RegisterCommands() {0x000007fecc56a180} + 163 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\edi
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-MainFrame.dll!TCommands<FMainFrameCommands>::Register() {0x000007fecc568f32} + 0 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-MainFrame.dll!FMainFrameModule::StartupModule() {0x000007fecc56e237} + 0 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\edi
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Core.dll!FModuleManager::LoadModuleWithFailureReason() {0x000007fedb67fc4f} + 0 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Core.dll!FModuleManager::LoadModule() {0x000007fedb67f017} + 0 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-LevelEditor.dll!FModuleManager::LoadModuleChecked<IMainFrameModule>() {0x000007fecb9f3390} + 39 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-LevelEditor.dll!FLevelEditorModule::StartupModule() {0x000007fecbacaecd} + 0 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\edi
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Core.dll!FModuleManager::LoadModuleWithFailureReason() {0x000007fedb67fc4f} + 0 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Core.dll!FModuleManager::LoadModule() {0x000007fedb67f017} + 0 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-CodeEditor.dll!FModuleManager::LoadModuleChecked<FLevelEditorModule>() {0x000007feca88e8c0} + 39 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-CodeEditor.dll!FCodeEditor::StartupModule() {0x000007feca8cb74d} + 0 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\plugins\ex
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Core.dll!FModuleManager::LoadModuleWithFailureReason() {0x000007fedb67fc4f} + 0 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Projects.dll!FModuleDescriptor::LoadModulesForPhase() {0x000007fee720e763} + 50 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Projects.dll!FPluginManager::LoadModulesForEnabledPlugins() {0x000007fee720dbcb} + 0 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Cmd.exe!FEngineLoop::LoadStartupModules() {0x000000013fc39601} + 44 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Cmd.exe!FEngineLoop::PreInit() {0x000000013fc3dc2e} + 8 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Cmd.exe!GuardedMain() {0x000000013fc343fb} + 15 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Cmd.exe!GuardedMainWrapper() {0x000000013fc34a4a} + 5 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Cmd.exe!WinMain() {0x000000013fc465b9} + 17 bytes [d:\ue4\ue4-releases\ue4-source\unrealengine\engine\source\run
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: UE4Editor-Cmd.exe!__tmainCRTStartup() {0x000000013fc47165} + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: kernel32.dll {0x0000000076fe59ed} + 0 bytes
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: ntdll.dll {0x000000007711c541} + 0 bytes
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Android (ETC1)): UE4Editor-Cmd: ntdll.dll {0x000000007711c541} + 0 bytes

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Foundation - Cpp Tools - Plugin System
Affects Versions4.8
Target Fix4.9
Fix Commit2621812
CreatedJun 18, 2015
ResolvedJul 15, 2015
UpdatedSep 16, 2019
View Jira Issue