Description

This is Not a regression.
Tested in:
//UE4/Release-4.26.2 CL15973114 Binary - Reproduced
//UE4/Release-4.27.1 CL17735300 Binary - Reproduced

When adding a component to a Water Body actor it should still nativized to c++ if the blueprint nativization is set to inclusive or exclusive with the blueprint having Nativize enabled.

Steps to Reproduce
  1. In any project enable Water and Landmass plugins
  2. In project settings set Blueprint Nativization Method to Inclusive
  3. Create a new Blueprint Actor from WaterBodyLake
  4. Add a Box Collision component to the actor, save, and compile
  5. Package the project

Expected Results:
The blueprint actor is nativized and the project compiles successfully.

Actual Results:
Packaging fails with an Ensure condition "MyOwnerWorld [...ActorComponent.cpp] [Line: 1278]"

Callstack
PackagingResults: Error: begin: stack for UAT
PackagingResults: Error: === Handled ensure: ===
PackagingResults: Error: Ensure condition failed: MyOwnerWorld [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/Components/ActorComponent.cpp] [Line: 1278]
PackagingResults: Error: Stack:
PackagingResults: Error: [Callstack] 0x00007ffc4e058569 UE4Editor-Engine.dll!<lambda_f599763c76159b520a16136087749834>::operator()() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp:1278]
PackagingResults: Error: [Callstack] 0x00007ffc4c9d9824 UE4Editor-Engine.dll!UActorComponent::RegisterComponent() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp:1278]
PackagingResults: Error: [Callstack] 0x00007ffcad59e29f UE4Editor-Water.dll!ULakeGenerator::OnUpdateBody() [D:\Build\++UE4\Sync\Engine\Plugins\Experimental\Water\Source\Runtime\Private\WaterBodyLakeActor.cpp:94]
PackagingResults: Error: [Callstack] 0x00007ffcad5c0186 UE4Editor-Water.dll!UWaterBodyGenerator::UpdateBody() [D:\Build\++UE4\Sync\Engine\Plugins\Experimental\Water\Source\Runtime\Private\WaterBodyActor.cpp:1468]
PackagingResults: Error: [Callstack] 0x00007ffcad5bfeb8 UE4Editor-Water.dll!AWaterBody::UpdateAll() [D:\Build\++UE4\Sync\Engine\Plugins\Experimental\Water\Source\Runtime\Private\WaterBodyActor.cpp:1166]
PackagingResults: Error: [Callstack] 0x00007ffcad5a174a UE4Editor-Water.dll!AWaterBody::PostDuplicate() [D:\Build\++UE4\Sync\Engine\Plugins\Experimental\Water\Source\Runtime\Private\WaterBodyActor.cpp:290]
PackagingResults: Error: [Callstack] 0x00007ffc4c900bf9 UE4Editor-Engine.dll!UBlueprint::PostDuplicate() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\Blueprint.cpp:612]
PackagingResults: Error: [Callstack] 0x00007ffc7c0e2385 UE4Editor-CoreUObject.dll!StaticDuplicateObjectEx() [D:\Build\++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2162]
PackagingResults: Error: [Callstack] 0x00007ffc7c0e1444 UE4Editor-CoreUObject.dll!StaticDuplicateObject() [D:\Build\++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2011]
PackagingResults: Error: [Callstack] 0x00007ffc42dc5257 UE4Editor-BlueprintNativeCodeGen.dll!FBlueprintNativeCodeGenUtils::GenerateCppCode() [D:\Build\++UE4\Sync\Engine\Source\Developer\BlueprintNativeCodeGen\Private\BlueprintNativeCodeGenUtils.cpp:443]
PackagingResults: Error: [Callstack] 0x00007ffc42dc97ca UE4Editor-BlueprintNativeCodeGen.dll!FBlueprintNativeCodeGenModule::GenerateSingleAsset() [D:\Build\++UE4\Sync\Engine\Source\Developer\BlueprintNativeCodeGen\Private\BlueprintNativeCodeGenModule.cpp:515]
PackagingResults: Error: [Callstack] 0x00007ffc42dc5f90 UE4Editor-BlueprintNativeCodeGen.dll!FBlueprintNativeCodeGenModule::GenerateFullyConvertedClasses() [D:\Build\++UE4\Sync\Engine\Source\Developer\BlueprintNativeCodeGen\Private\BlueprintNativeCodeGenModule.cpp:422]
PackagingResults: Error: [Callstack] 0x00007ffc4acf14e7 UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::CookByTheBookFinished() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:5952]
PackagingResults: Error: [Callstack] 0x00007ffc4ad37669 UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::TickCookOnTheSide() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:1210]
PackagingResults: Error: [Callstack] 0x00007ffc4ab6d6e0 UE4Editor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:997]
PackagingResults: Error: [Callstack] 0x00007ffc4ab97a1d UE4Editor-UnrealEd.dll!UCookCommandlet::Main() [D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:663]
PackagingResults: Error: [Callstack] 0x00007ff79311a01c UE4Editor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3436]
PackagingResults: Error: [Callstack] 0x00007ff793110d1c UE4Editor-Cmd.exe!GuardedMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:132]
PackagingResults: Error: [Callstack] 0x00007ff7931110aa UE4Editor-Cmd.exe!GuardedMainWrapper() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
PackagingResults: Error: [Callstack] 0x00007ff7931140cd UE4Editor-Cmd.exe!LaunchWindowsStartup() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:273]
PackagingResults: Error: [Callstack] 0x00007ff793125984 UE4Editor-Cmd.exe!WinMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:320]
PackagingResults: Error: [Callstack] 0x00007ff7931278be UE4Editor-Cmd.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
PackagingResults: Error: [Callstack] 0x00007ffd2aae7bd4 KERNEL32.DLL!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffd2ae4ced1 ntdll.dll!UnknownFunction []
PackagingResults: Error: end: stack for UAT
PackagingResults: Error: Unknown Cook Failure

Have Comments or More Details?

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

0
Login to Vote

Won't Fix
ComponentUE - LD & Modeling - Terrain - Water
Affects Versions4.27
Target Fix5.0
CreatedNov 23, 2021
ResolvedNov 24, 2021
UpdatedNov 29, 2021
View Jira Issue