everyhing worked fine in 4.17, migrating to 4.18.0 i’m not able to avoid crash opening a game state child blueprint (class is child of child).
Even recreating parent or child class from scratch doesn’t resolve issue… when i add a few overrided functions bp will crash again…
debugging in visual studio I get:
Failed assertion:
check(!F->GetSuperFunction() || (F->GetSuperFunction()->FunctionFlags&FUNC_NetFuncFlags) == (F->FunctionFlags&FUNC_NetFuncFlags));
runtime values:
+ F->GetSuperFunction() 0x0000029d86bea700 (Name=0x0000029daf1cbc50 "PLACEHOLDER-FUNCTION__CustomServerObjectSnap"_0) UFunction * {ULinkerPlaceholderFunction}
F->GetSuperFunction()->FunctionFlags FUNC_None (0) EFunctionFlags
+ F 0x0000029d08a82080 (Name=0x0000029d42a6f308 "CustomServerObjectSnap") UFunction *
F->FunctionFlags FUNC_Net | FUNC_NetReliable | FUNC_NetServer | FUNC_BlueprintCallable | FUNC_BlueprintEvent (203423936) EFunctionFlags
superfunction returns a “placeholder-function” with null net flags…
call stack:
UE4Editor-CoreUObject.dll!UClass::Link(FArchive & Ar, bool bRelinkExistingProperties) Line 3068 C++
UE4Editor-Engine.dll!UBlueprintGeneratedClass::Link(FArchive & Ar, bool bRelinkExistingProperties) Line 1367 C++
UE4Editor-CoreUObject.dll!UClass::Serialize(FArchive & Ar) Line 3531 C++
UE4Editor-Engine.dll!UBlueprintGeneratedClass::Serialize(FArchive & Ar) Line 1460 C++
UE4Editor-CoreUObject.dll!FLinkerLoad::Preload(UObject * Object) Line 3300 C++
UE4Editor-CoreUObject.dll!FLinkerLoad::CreateExport(int Index) Line 4018 C++
UE4Editor-CoreUObject.dll!FLinkerLoad::IndexToObject(FPackageIndex Index) Line 4241 C++
UE4Editor-CoreUObject.dll!FLinkerLoad::CreateExport(int Index) Line 3711 C++
UE4Editor-CoreUObject.dll!FLinkerLoad::CreateExportAndPreload(int ExportIndex, bool bForcePreload) Line 2744 C++
UE4Editor-CoreUObject.dll!FLinkerLoad::LoadAllObjects(bool bForcePreload) Line 2902 C++
UE4Editor-CoreUObject.dll!LoadPackageInternal(UPackage * InOuter, const wchar_t * InLongPackageNameOrFilename, unsigned int LoadFlags, FLinkerLoad * ImportLinker) Line 1322 C++
UE4Editor-CoreUObject.dll!LoadPackage(UPackage * InOuter, const wchar_t * InLongPackageName, unsigned int LoadFlags) Line 1430 C++
UE4Editor-CoreUObject.dll!ResolveName(UObject * & InPackage, FString & InOutName, bool Create, bool Throw, unsigned int LoadFlags) Line 798 C++
UE4Editor-CoreUObject.dll!StaticLoadObjectInternal(UClass * ObjectClass, UObject * InOuter, const wchar_t * InName, const wchar_t * Filename, unsigned int LoadFlags, UPackageMap * Sandbox, bool bAllowObjectReconciliation) Line 886 C++
UE4Editor-CoreUObject.dll!StaticLoadObject(UClass * ObjectClass, UObject * InOuter, const wchar_t * InName, const wchar_t * Filename, unsigned int LoadFlags, UPackageMap * Sandbox, bool bAllowObjectReconciliation) Line 953 C++
UE4Editor-ContentBrowser.dll!FAssetData::GetAsset() Line 283 C++
UE4Editor-ContentBrowser.dll!SContentBrowser::OnAssetsActivated(const TArray<FAssetData,FDefaultAllocator> & ActivatedAssets, EAssetTypeActivationMethod::Type ActivationMethod) Line 1922 C++
UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,TTypeWrapper __cdecl(TArray<FAssetData,FDefaultAllocator> const & __ptr64,enum EAssetTypeActivationMethod::Type)>::Execute(const TArray<FAssetData,FDefaultAllocator> & <Params_0>, EAssetTypeActivationMethod::Type <Params_1>) Line 327 C++
UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,void __cdecl(TArray<FAssetData,FDefaultAllocator> const & __ptr64,enum EAssetTypeActivationMethod::Type)>::ExecuteIfSafe(const TArray<FAssetData,FDefaultAllocator> & <Params_0>, EAssetTypeActivationMethod::Type <Params_1>) Line 434 C++
UE4Editor-ContentBrowser.dll!SAssetView::OnListMouseButtonDoubleClick(TSharedPtr<FAssetViewItem,0> AssetItem) Line 3904 C++
I’ve submittet following crash report
LoginId:f6095d2940b05f5c05a7e6a11834bc97
EpicAccountId:f4fa59ecda68487b952c18802c6ce9d8
Assertion failed: !F->GetSuperFunction() || (F->GetSuperFunction()->FunctionFlags&FUNC_NetFuncFlags) == (F->FunctionFlags&FUNC_NetFuncFlags) [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp] [Line: 3068]
UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:414]
UE4Editor_CoreUObject!UClass::Link() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:3069]
UE4Editor_Engine!UBlueprintGeneratedClass::Link() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\engine\private\blueprintgeneratedclass.cpp:1367]
UE4Editor_CoreUObject!UClass::Serialize() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:3531]
UE4Editor_Engine!UBlueprintGeneratedClass::Serialize() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\engine\private\blueprintgeneratedclass.cpp:1460]
UE4Editor_CoreUObject!FLinkerLoad::Preload() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3300]
UE4Editor_CoreUObject!FLinkerLoad::CreateExport() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:4018]
UE4Editor_CoreUObject!FLinkerLoad::IndexToObject() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:4241]
UE4Editor_CoreUObject!FLinkerLoad::CreateExport() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3711]
UE4Editor_CoreUObject!FLinkerLoad::CreateExportAndPreload() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2744]
UE4Editor_CoreUObject!FLinkerLoad::LoadAllObjects() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2902]
UE4Editor_CoreUObject!LoadPackageInternal() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1322]
UE4Editor_CoreUObject!LoadPackage() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1430]
UE4Editor_CoreUObject!ResolveName() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:798]
UE4Editor_CoreUObject!StaticLoadObjectInternal() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:886]
UE4Editor_CoreUObject!StaticLoadObject() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:953]
UE4Editor_ContentBrowser!ContentBrowserUtils::LoadAssetsIfNeeded() [d:\build\++ue4+release-4.18+compile\sync\engine\source\editor\contentbrowser\private\contentbrowserutils.cpp:381]
UE4Editor_ContentBrowser!SAssetView::CanOpenContextMenu() [d:\build\++ue4+release-4.18+compile\sync\engine\source\editor\contentbrowser\private\sassetview.cpp:3870]
UE4Editor_ContentBrowser!SAssetView::OnGetContextMenuContent() [d:\build\++ue4+release-4.18+compile\sync\engine\source\editor\contentbrowser\private\sassetview.cpp:3801]
UE4Editor_ContentBrowser!TMemberFunctionCaller<SAssetView,TSharedPtr<SWidget,0> (__cdecl SAssetView::*)(void) __ptr64>::operator()<>() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:165]
UE4Editor_ContentBrowser!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SAssetView,TSharedPtr<SWidget,0> (__cdecl SAssetView::*)(void) __ptr64> >() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\templates\tuple.h:497]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,TSharedPtr<SWidget,0> __cdecl(void)>::Execute() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseDelegate<TSharedPtr<SWidget,0> >::Execute() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:537]
UE4Editor_Slate!STableViewBase::OnRightMouseButtonUp() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\widgets\views\stableviewbase.cpp:802]
UE4Editor_ContentBrowser!SListView<TSharedPtr<FAssetViewItem,0> >::Private_OnItemRightClicked() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\public\widgets\views\slistview.h:790]
UE4Editor_ContentBrowser!STableRow<TSharedPtr<FAssetViewItem,0> >::OnMouseButtonUp() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\public\widgets\views\stablerow.h:502]
UE4Editor_Slate!<lambda_74ecb22bb70e3f50c9d83154dfa5c688>::operator()() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5312]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_74ecb22bb70e3f50c9d83154dfa5c688> >() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:234]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5296]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5750]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5730]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1725]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2171]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:888]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:725]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3220]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor!WinMain() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
kernel32
ntdll