Description

Launching the Editor/Datasmith from Blutility via a Commandlet that is importing a .stp file causes the Editor to not launch with an assert. 

Steps to Reproduce
  1. Go to this link and download the repro project ([Link Removed])
  2. Extract the AssertRepro folder and open it
  3. Right-click on AssertRepro.uproject and select "Generate Visual Studio files"
  4. Open up the solution file and build it
  5. Edit RunCommandlet.txt to point at your Unreal installation and stp file, then run it as bat file

Results: Editor crashes

Expected: Editor launches and .stp file is loaded

Callstack
[2018.08.06-12.46.33:372][ 0]LogWindows: Error: === Critical error: ===
[2018.08.06-12.46.33:374][ 0]LogWindows: Error:
[2018.08.06-12.46.33:375][ 0]LogWindows: Error: Assertion failed: IsValid() [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h] [Line: 797]
[2018.08.06-12.46.33:380][ 0]LogWindows: Error:
[2018.08.06-12.46.33:381][ 0]LogWindows: Error:
[2018.08.06-12.46.33:384][ 0]LogWindows: Error:
[2018.08.06-12.46.33:385][ 0]LogWindows: Error: [Callstack] 0x00007ffb12ad50d8 KERNELBASE.dll!UnknownFunction []
[2018.08.06-12.46.33:388][ 0]LogWindows: Error: [Callstack] 0x00007ffaf25b6850 UE4Editor-ApplicationCore.dll!FWindowsErrorOutputDevice::Serialize() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowserroroutputdevice.cpp:65]
[2018.08.06-12.46.33:395][ 0]LogWindows: Error: [Callstack] 0x00007ffac4eb62ec UE4Editor-Core.dll!FOutputDevice::LogfImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:70]
[2018.08.06-12.46.33:401][ 0]LogWindows: Error: [Callstack] 0x00007ffac4e451cb UE4Editor-Core.dll!FDebug::AssertFailed() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:425]
[2018.08.06-12.46.33:406][ 0]LogWindows: Error: [Callstack] 0x00007ffac571d919 UE4Editor-Engine.dll!UEngine::GetServiceLocator() [d:\build\++ue4\sync\engine\source\runtime\engine\classes\engine\engine.h:2465]
[2018.08.06-12.46.33:413][ 0]LogWindows: Error: [Callstack] 0x00007ffaa82963a5 UE4Editor-PluginWarden.dll!FPluginWardenAuthorizer::FPluginWardenAuthorizer() [d:\build\++ue4\sync\engine\source\editor\pluginwarden\private\pluginwardenauthorizer.cpp:46]
[2018.08.06-12.46.33:420][ 0]LogWindows: Error: [Callstack] 0x00007ffaa82a065b UE4Editor-PluginWarden.dll!FPluginWardenModule::RunAuthorizationPipeline() [d:\build\++ue4\sync\engine\source\editor\pluginwarden\private\pluginwardenmodule.cpp:66]
[2018.08.06-12.46.33:427][ 0]LogWindows: Error: [Callstack] 0x00007ffaa829b7a8 UE4Editor-PluginWarden.dll!FPluginWardenModule::CheckEntitlementForPlugin() [d:\build\++ue4\sync\engine\source\editor\pluginwarden\private\pluginwardenmodule.cpp:39]
[2018.08.06-12.46.33:436][ 0]LogWindows: Error: [Callstack] 0x00007ffab2207af1 UE4Editor-DatasmithImporter.dll!FDatasmithImporterModule::IsEntitled() [d:\build\++ue4\sync\localbuilds\installed\enterprise\plugins\editor\datasmithimporter\source\datasmithimporter\private\datasmithimportermodule.cpp:134]
[2018.08.06-12.46.33:444][ 0]LogWindows: Error: [Callstack] 0x00007ffaafecf3e7 UE4Editor-DatasmithCADImporter.dll!UDatasmithCADImportFactory::InitializeFormats() [d:\build\++ue4\sync\localbuilds\installed\enterprise\plugins\editor\datasmithcadimporter\source\datasmithcadimporter\private\datasmithcadimportfactory.cpp:146]
[2018.08.06-12.46.33:453][ 0]LogWindows: Error: [Callstack] 0x00007ffaafeb81e3 UE4Editor-DatasmithCADImporter.dll!UDatasmithCADImportFactory::UDatasmithCADImportFactory() [d:\build\++ue4\sync\localbuilds\installed\enterprise\plugins\editor\datasmithcadimporter\source\datasmithcadimporter\private\datasmithcadimportfactory.cpp:138]
[2018.08.06-12.46.33:462][ 0]LogWindows: Error: [Callstack] 0x00007ffacac028da UE4Editor-CoreUObject.dll!StaticConstructObject_Internal() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:3156]
[2018.08.06-12.46.33:469][ 0]LogWindows: Error: [Callstack] 0x00007ffaafec3d12 UE4Editor-DatasmithCADImporter.dll!UDatasmithCADSceneElement::ConstructDatasmithSceneFromFile() [d:\build\++ue4\sync\localbuilds\installed\enterprise\plugins\editor\datasmithcadimporter\source\datasmithcadimporter\private\datasmithcadblueprintlibrary.cpp:126]
[2018.08.06-12.46.33:478][ 0]LogWindows: Error: [Callstack] 0x00007ffaafee294c UE4Editor-DatasmithCADImporter.dll!UDatasmithCADSceneElement::execConstructDatasmithSceneFromFile() []
[2018.08.06-12.46.33:483][ 0]LogWindows: Error: [Callstack] 0x00007ffaca945f27 UE4Editor-CoreUObject.dll!UFunction::Invoke() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:4728]
[2018.08.06-12.46.33:488][ 0]LogWindows: Error: [Callstack] 0x00007ffacab5115e UE4Editor-CoreUObject.dll!UObject::CallFunction() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:772]
[2018.08.06-12.46.33:494][ 0]LogWindows: Error: [Callstack] 0x00007ffacab6ef49 UE4Editor-CoreUObject.dll!UObject::ProcessContextOpcode() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:2197]
[2018.08.06-12.46.33:500][ 0]LogWindows: Error: [Callstack] 0x00007ffacaba1d16 UE4Editor-CoreUObject.dll!UObject::execLetObj() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:2019]
[2018.08.06-12.46.33:508][ 0]LogWindows: Error: [Callstack] 0x00007ffacab71646 UE4Editor-CoreUObject.dll!UObject::ProcessInternal() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:984]
[2018.08.06-12.46.33:512][ 0]LogWindows: Error: [Callstack] 0x00007ffaca945f27 UE4Editor-CoreUObject.dll!UFunction::Invoke() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:4728]
[2018.08.06-12.46.33:519][ 0]LogWindows: Error: [Callstack] 0x00007ffacab70be3 UE4Editor-CoreUObject.dll!UObject::ProcessEvent() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1344]
[2018.08.06-12.46.33:525][ 0]LogWindows: Error: [Callstack] 0x00007ffacab5294a UE4Editor-CoreUObject.dll!UObject::CallFunctionByNameWithArguments() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1162]
[2018.08.06-12.46.33:531][ 0]LogWindows: Error: [Callstack] 0x00007ffab24323a3 UE4Editor-ConverterPlugin.dll!CADImport() [c:\users\trey.murphy\desktop\assertrepro\plugins\converterplugin\source\converterplugin\private\convertercommandlet.cpp:46]
[2018.08.06-12.46.33:538][ 0]LogWindows: Error: [Callstack] 0x00007ffab2432693 UE4Editor-ConverterPlugin.dll!UConverterCommandlet::Main() [c:\users\trey.murphy\desktop\assertrepro\plugins\converterplugin\source\converterplugin\private\convertercommandlet.cpp:77]
[2018.08.06-12.46.33:545][ 0]LogWindows: Error: [Callstack] 0x00007ff643cce9c2 UE4Editor-Cmd.exe!FEngineLoop::PreInit() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2322]
[2018.08.06-12.46.33:551][ 0]LogWindows: Error: [Callstack] 0x00007ff643cc5968 UE4Editor-Cmd.exe!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:127]
[2018.08.06-12.46.33:555][ 0]LogWindows: Error: [Callstack] 0x00007ff643cc5bba UE4Editor-Cmd.exe!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:144]
[2018.08.06-12.46.33:561][ 0]LogWindows: Error: [Callstack] 0x00007ff643cd3dac UE4Editor-Cmd.exe!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:223]
[2018.08.06-12.46.33:566][ 0]LogWindows: Error: [Callstack] 0x00007ff643cd4ce6 UE4Editor-Cmd.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
[2018.08.06-12.46.33:571][ 0]LogWindows: Error: [Callstack] 0x00007ffb15891fe4 KERNEL32.DLL!UnknownFunction []
[2018.08.06-12.46.33:574][ 0]LogWindows: Error: [Callstack] 0x00007ffb1627cb31 ntdll.dll!UnknownFunction []
[2018.08.06-12.46.33:576][ 0]LogWindows: Error:

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-62563 in the post.

1
Login to Vote

Fixed
Fix Commit4421943
Main Commit4450599
Release Commit4421943
CreatedAug 6, 2018
ResolvedOct 9, 2018
UpdatedOct 6, 2020
View Jira Issue