Hello,
We have been getting struck with this crash while trying to open many blueprints.We thought it was because of one corrupt Custom Player Controller BP (similar to https://answers.unrealengine.com/questions/432769/crash-on-compile-blueprint.html). The engine used to crash as soon as we tried to compile this BP. Not anymore.
However, now we now face another issue, which has spread to other blueprints. This crash occurs as soon as we try to open these particular BPs (BT services and tasks as well as a custom game instance blueprint). Worst of it all, we cannot open the level blueprint in any of the maps in this particular project without crashing.
It is same in all cases:
Assertion failed: IsValid() [File:D:\BuildFarm\buildmachine_++UE4+Release-4.11\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h] [Line: 739]
UE4Editor_Core!FDebug::AssertFailed() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\misc\outputdevice.cpp:430]
UE4Editor_Kismet!FSCSViewportSummoner::SpawnTab() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\kismet\private\blueprinteditortabfactories.cpp:309]
UE4Editor_Kismet!FWorkflowCentricApplication::CreatePanelTab() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\kismet\private\workflowcentricapplication.cpp:83]
UE4Editor_Kismet!TMemberFunctionCaller<FWorkflowCentricApplication,TSharedRef<SDockTab,0> (__cdecl FWorkflowCentricApplication::*)(FSpawnTabArgs const & __ptr64,TSharedPtr<FWorkflowTabFactory,0>) __ptr64>::operator()<FSpawnTabArgs const & __ptr64,TSharedPtr<() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\public\delegates\delegateinstanceinterface_variadics.h:161]
UE4Editor_Kismet!TTupleImpl<TIntegerSequence<unsigned int,0>,TSharedPtr<FWorkflowTabFactory,0> >::ApplyAfter_ExplicitReturnType<TSharedRef<SDockTab,0>,TMemberFunctionCaller<FWorkflowCentricApplication,TSharedRef<SDockTab,0> (__cdecl FWorkflowCentricApplicati() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\public\delegates\tuple.h:93]
UE4Editor_Kismet!TBaseRawMethodDelegateInstance<0,FWorkflowCentricApplication,TSharedRef<SDockTab,0> __cdecl(FSpawnTabArgs const & __ptr64),TSharedPtr<FWorkflowTabFactory,0> >::Execute() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:550]
UE4Editor_Slate!TBaseDelegate<TSharedRef<SDockTab,0>,FSpawnTabArgs const & __ptr64>::Execute() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:521]
UE4Editor_Slate!FTabManager::SpawnTab() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1214]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1073]
UE4Editor_Slate!FTabManager::RestoreSplitterContent() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1188]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1166]
UE4Editor_Slate!FTabManager::RestoreSplitterContent() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1188]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1166]
UE4Editor_Slate!FTabManager::RestoreSplitterContent() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1188]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1166]
UE4Editor_Slate!FTabManager::RestoreSplitterContent() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1188]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1157]
UE4Editor_Slate!FTabManager::RestoreArea() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1049]
UE4Editor_Slate!FTabManager::RestoreFrom() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:658]
UE4Editor_UnrealEd!SStandaloneAssetEditorToolkitHost::RestoreFromLayout() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\toolkits\sstandaloneasseteditortoolkithost.cpp:124]
UE4Editor_UnrealEd!FAssetEditorToolkit::RestoreFromLayout() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\toolkits\asseteditortoolkit.cpp:904]
UE4Editor_Kismet!FWorkflowCentricApplication::SetCurrentMode() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\kismet\private\workflowcentricapplication.cpp:70]
UE4Editor_Kismet!FBlueprintEditor::SetCurrentMode() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\kismet\private\blueprinteditor.cpp:1611]
UE4Editor_Kismet!FBlueprintEditor::RegisterApplicationModes() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\kismet\private\blueprinteditor.cpp:1832]
UE4Editor_Kismet!FBlueprintEditor::InitBlueprintEditor() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\kismet\private\blueprinteditor.cpp:1666]
UE4Editor_Kismet!FBlueprintEditorModule::CreateBlueprintEditor() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\kismet\private\blueprinteditormodule.cpp:255]
UE4Editor_AssetTools!FAssetTypeActions_Blueprint::OpenAssetEditor() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\developer\assettools\private\assettypeactions\assettypeactions_blueprint.cpp:77]
UE4Editor_UnrealEd!FAssetEditorManager::OpenEditorForAsset() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\toolkits\asseteditormanager.cpp:338]
UE4Editor_LevelEditor!FLevelEditorActionCallbacks::OpenLevelBlueprint() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\leveleditor\private\leveleditoractions.cpp:2087]
UE4Editor_LevelEditor!TBaseStaticDelegateInstance<void __cdecl(void),TWeakPtr<SLevelEditor,0> >::ExecuteIfSafe() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:1021]
UE4Editor_Slate!FUICommandList::ExecuteAction() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:87]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1027]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:987]
UE4Editor_Slate!TMemberFunctionCaller<SMenuEntryBlock,FReply (__cdecl SMenuEntryBlock::*)(void) __ptr64>::operator()<>() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\public\delegates\delegateinstanceinterface_variadics.h:161]
UE4Editor_Slate!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter_ExplicitReturnType<FReply,TMemberFunctionCaller<SMenuEntryBlock,FReply (__cdecl SMenuEntryBlock::*)(void) __ptr64> >() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\public\delegates\tuple.h:128]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl(void)>::Execute() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:321]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:521]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:273]
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:385]
UE4Editor_Slate!<lambda_9ed539f2a96fd1ccd6d2214174cc7705>::operator()() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4540]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_9ed539f2a96fd1ccd6d2214174cc7705> >() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:214]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4530]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4947]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4923]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\windows\windowsapplication.cpp:1415]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\windows\windowsapplication.cpp:1732]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\windows\windowsapplication.cpp:697]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\windows\windowsapplication.cpp:619]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:884]
UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\launchengineloop.cpp:2611]
UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll
What we have tried:
1] Reinstalling 4.11.2
2] We removed redundant rendertarget2d references in some widgets as well as duplicate create widget and update widget nodes in some tick functions.
3] We replaced the custom player controller with another BP by deleting the old, updating references and fixing up the redirectors. It no longer causes any crash on compiling.
4] Updating to 4.15 - This works and we have not encountered a crash on any of the blueprints that I know of, yet. But we can not proceed further with this version because of UE-41048 which is going to be fixed in 4.16. It will halt all our progress completely.
5] Searching for this particular issue on issues.unrealengine.com, but there are too many to sift through.
6] Checked if it occurs in any other project - does not occur in any other project.
If this has been solved, we are willing to add the fix to the 4.11.2 solution and rebuild the engine. It’s vital that we stick with 4.11.2 to avoid further problems and cause incompatibilities with some plugins. If someone is kind enough to get us out of this sticky, we’d be much obliged.