Description

REGRESSION: Does not occur in 4.24

Cooking a project containing functions with delegate pins fails with multiple ensures.

Steps to Reproduce
  1. Download and extract the attached project.
  2. Open the project in editor.
  3. Cook the content (File > Cook Content for Windows is enough to repro).

RESULT

Cook fails with multiple ensures

Callstack
Ensure condition failed: GetSuperClass() [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/Engine/Private/BlueprintGeneratedClass.cpp] [Line: 1515]

UE4Editor-Engine.dll!<lambda_edd2bbdbf9da04bf6104de7d718b849d>::operator()() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\BlueprintGeneratedClass.cpp:1515]
UE4Editor-Engine.dll!UBlueprintGeneratedClass::NeedsLoadForClient() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\BlueprintGeneratedClass.cpp:1515]
UE4Editor-CoreUObject.dll!ConditionallyExcludeObjectForTarget() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:641]
UE4Editor-CoreUObject.dll!ConditionallyExcludeObjectForTarget() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:613]
UE4Editor-CoreUObject.dll!FArchiveSaveTagImports::operator<<() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:1001]
UE4Editor-CoreUObject.dll!FDelegateProperty::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyDelegate.cpp:164]
UE4Editor-CoreUObject.dll!UStruct::SerializeProperties() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:1768]
UE4Editor-CoreUObject.dll!UStruct::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:1846]
UE4Editor-CoreUObject.dll!UFunction::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5555]
UE4Editor-CoreUObject.dll!UPackage::Save() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:3876]
UE4Editor-UnrealEd.dll!UEditorEngine::Save() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:4511]
UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackage() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:4550]
UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackages() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3440]
UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::TickCookOnTheSide() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:2871]
UE4Editor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:921]
UE4Editor-UnrealEd.dll!UCookCommandlet::Main() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:595]
UE4Editor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3391]
UE4Editor-Cmd.exe!GuardedMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:127]
UE4Editor-Cmd.exe!GuardedMainWrapper() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor-Cmd.exe!WinMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
UE4Editor-Cmd.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
KERNEL32.DLL!UnknownFunction []
ntdll.dll!UnknownFunction []

Ensure condition failed: ClassDefaultObject [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/Engine/Private/BlueprintGeneratedClass.cpp] [Line: 1519]

UE4Editor-Engine.dll!<lambda_9966dda4ed9bef87d419502a076e0556>::operator()() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\BlueprintGeneratedClass.cpp:1519]
UE4Editor-Engine.dll!UBlueprintGeneratedClass::NeedsLoadForClient() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\BlueprintGeneratedClass.cpp:1519]
UE4Editor-CoreUObject.dll!ConditionallyExcludeObjectForTarget() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:641]
UE4Editor-CoreUObject.dll!ConditionallyExcludeObjectForTarget() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:613]
UE4Editor-CoreUObject.dll!FArchiveSaveTagImports::operator<<() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:1001]
UE4Editor-CoreUObject.dll!FDelegateProperty::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyDelegate.cpp:164]
UE4Editor-CoreUObject.dll!UStruct::SerializeProperties() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:1768]
UE4Editor-CoreUObject.dll!UStruct::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:1846]
UE4Editor-CoreUObject.dll!UFunction::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5555]
UE4Editor-CoreUObject.dll!UPackage::Save() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:3876]
UE4Editor-UnrealEd.dll!UEditorEngine::Save() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:4511]
UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackage() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:4550]
UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackages() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3440]
UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::TickCookOnTheSide() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:2871]
UE4Editor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:921]
UE4Editor-UnrealEd.dll!UCookCommandlet::Main() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:595]
UE4Editor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3391]
UE4Editor-Cmd.exe!GuardedMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:127]
UE4Editor-Cmd.exe!GuardedMainWrapper() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor-Cmd.exe!WinMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
UE4Editor-Cmd.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
KERNEL32.DLL!UnknownFunction []
ntdll.dll!UnknownFunction []

Ensure condition failed: GetSuperClass() [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/Engine/Private/BlueprintGeneratedClass.cpp] [Line: 1494]

UE4Editor-Engine.dll!<lambda_114809919efc3ae4210ff29a3eb9e55c>::operator()() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\BlueprintGeneratedClass.cpp:1494]
UE4Editor-Engine.dll!UBlueprintGeneratedClass::NeedsLoadForServer() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\BlueprintGeneratedClass.cpp:1494]
UE4Editor-CoreUObject.dll!ConditionallyExcludeObjectForTarget() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:646]
UE4Editor-CoreUObject.dll!ConditionallyExcludeObjectForTarget() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:613]
UE4Editor-CoreUObject.dll!FArchiveSaveTagImports::operator<<() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:1001]
UE4Editor-CoreUObject.dll!FDelegateProperty::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyDelegate.cpp:164]
UE4Editor-CoreUObject.dll!UStruct::SerializeProperties() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:1768]
UE4Editor-CoreUObject.dll!UStruct::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:1846]
UE4Editor-CoreUObject.dll!UFunction::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5555]
UE4Editor-CoreUObject.dll!UPackage::Save() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:3876]
UE4Editor-UnrealEd.dll!UEditorEngine::Save() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:4511]
UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackage() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:4550]
UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackages() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3440]
UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::TickCookOnTheSide() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:2871]
UE4Editor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:921]
UE4Editor-UnrealEd.dll!UCookCommandlet::Main() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:595]
UE4Editor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3391]
UE4Editor-Cmd.exe!GuardedMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:127]
UE4Editor-Cmd.exe!GuardedMainWrapper() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor-Cmd.exe!WinMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
UE4Editor-Cmd.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
KERNEL32.DLL!UnknownFunction []
ntdll.dll!UnknownFunction []

Ensure condition failed: ClassDefaultObject [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/Engine/Private/BlueprintGeneratedClass.cpp] [Line: 1498]

UE4Editor-Engine.dll!<lambda_13cbd742885c601c951c1fa9d9bb6846>::operator()() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\BlueprintGeneratedClass.cpp:1498]
UE4Editor-Engine.dll!UBlueprintGeneratedClass::NeedsLoadForServer() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\BlueprintGeneratedClass.cpp:1498]
UE4Editor-CoreUObject.dll!ConditionallyExcludeObjectForTarget() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:646]
UE4Editor-CoreUObject.dll!ConditionallyExcludeObjectForTarget() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:613]
UE4Editor-CoreUObject.dll!FArchiveSaveTagImports::operator<<() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:1001]
UE4Editor-CoreUObject.dll!FDelegateProperty::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyDelegate.cpp:164]
UE4Editor-CoreUObject.dll!UStruct::SerializeProperties() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:1768]
UE4Editor-CoreUObject.dll!UStruct::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:1846]
UE4Editor-CoreUObject.dll!UFunction::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5555]
UE4Editor-CoreUObject.dll!UPackage::Save() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:3876]
UE4Editor-UnrealEd.dll!UEditorEngine::Save() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:4511]
UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackage() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:4550]
UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackages() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:3440]
UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::TickCookOnTheSide() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:2871]
UE4Editor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:921]
UE4Editor-UnrealEd.dll!UCookCommandlet::Main() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:595]
UE4Editor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3391]
UE4Editor-Cmd.exe!GuardedMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:127]
UE4Editor-Cmd.exe!GuardedMainWrapper() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor-Cmd.exe!WinMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
UE4Editor-Cmd.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
KERNEL32.DLL!UnknownFunction []
ntdll.dll!UnknownFunction []


Have Comments or More Details?

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

8
Login to Vote

Fixed
ComponentUE - Foundation - Core
Affects Versions4.25
Target Fix4.25.1
Fix Commit13257728
Main Commit14151001
Release Commit13257728
CreatedMay 6, 2020
ResolvedMay 8, 2020
UpdatedAug 26, 2020
View Jira Issue