Description

Adding a 3D text actor to a level with a Nanite landscape causes cooker to hit an assert

 

Tested in the Following 

//UE5-Release-5.3-CL-27405482

Steps to Reproduce
  1. Create a new project, and enable the 3D Text plugin
  2. add a landscape to the world, and enable Nanite for it.
  3. Cook project for windows.

Expected:

UE cooks properly

 

Result:

Cook fails

Callstack
PackagingResults: Error: === Critical error: ===
PackagingResults: Error: Assertion failed: CurrentApplication.IsValid() [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h] [Line: 255]
PackagingResults: Error: [Callstack] 0x00007ffaf77af356 UnrealEditor-Slate.dll!FTextLayout::FLineModel::FLineModel() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Text\TextLayout.cpp:2683]
PackagingResults: Error: [Callstack] 0x00007ffaf77bc752 UnrealEditor-Slate.dll!FTextLayout::AddLines() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Text\TextLayout.cpp:2172]
PackagingResults: Error: [Callstack] 0x00007ffaf7797223 UnrealEditor-Slate.dll!FPlainTextLayoutMarshaller::SetText() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Text\PlainTextLayoutMarshaller.cpp:80]
PackagingResults: Error: [Callstack] 0x0000020a404ee58b UnrealEditor-Text3D.dll!FTextShaper::ShapeBidirectionalText() [D:\build\++UE5\Sync\Engine\Plugins\Experimental\Text3D\Source\Text3D\Private\TextShaper.cpp:46]
PackagingResults: Error: [Callstack] 0x0000020a404ce556 UnrealEditor-Text3D.dll!UText3DComponent::BuildTextMeshInternal() [D:\build\++UE5\Sync\Engine\Plugins\Experimental\Text3D\Source\Text3D\Private\Text3DComponent.cpp:1109]
PackagingResults: Error: [Callstack] 0x0000020a404cfa44 UnrealEditor-Text3D.dll!UE::Core::Private::Function::TFunctionRefCaller<`UText3DComponent::BuildTextMesh'::`2'::<lambda_1>,void __cdecl(void)>::Call() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Templates\Function.h:480]
PackagingResults: Error: [Callstack] 0x00007ffaf9457828 UnrealEditor-Core.dll!TGraphTask<FAsyncGraphTask>::ExecuteTask() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:1265]
PackagingResults: Error: [Callstack] 0x00007ffaf9471c9f UnrealEditor-Core.dll!FNamedTaskThread::ProcessTasksNamedThread() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:758]
PackagingResults: Error: [Callstack] 0x00007ffaf94720bb UnrealEditor-Core.dll!FNamedTaskThread::ProcessTasksUntilIdle() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:660]
PackagingResults: Error: [Callstack] 0x00007ffae3b33c56 UnrealEditor-UnrealEd.dll!UE::Cook::ProcessDeferredCommands() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:2121]
PackagingResults: Error: [Callstack] 0x00007ffae3b5415e UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::FPollable::RunDuringPump() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:1902]
PackagingResults: Error: [Callstack] 0x00007ffae3b361af UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::PumpPollables() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:1962]
PackagingResults: Error: [Callstack] 0x00007ffae3b61a5f UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::TickMainCookLoop() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:1457]
PackagingResults: Error: [Callstack] 0x00007ffae3b60f57 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::TickCookByTheBook() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:1294]
PackagingResults: Error: [Callstack] 0x00007ffae384fe50 UnrealEditor-UnrealEd.dll!UCookCommandlet::RunCookByTheBookCook() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:543]
PackagingResults: Error: [Callstack] 0x00007ffae380f323 UnrealEditor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:504]
PackagingResults: Error: [Callstack] 0x00007ffae382dc6f UnrealEditor-UnrealEd.dll!UCookCommandlet::Main() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:243]
PackagingResults: Error: [Callstack] 0x00007ff6abac733f UnrealEditor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4136]
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ff6ababcfb6 UnrealEditor-Cmd.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:140]
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ff6ababd37a UnrealEditor-Cmd.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ff6abac0854 UnrealEditor-Cmd.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ff6abad6984 UnrealEditor-Cmd.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ff6abad8eb6 UnrealEditor-Cmd.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
UATHelper: Cooking (Windows): LogWindows: Error: [Callstack] 0x00007ffbcc107614 KERNEL32.DLL!UnknownFunction []
UATHelper: Cooking (Windows): LogWindows: Error:
UATHelper: Cooking (Windows): LogWindows: Error: end: stack for UAT
PackagingResults: Error: [Callstack] 0x00007ff6ababcfb6 UnrealEditor-Cmd.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:140]
PackagingResults: Error: [Callstack] 0x00007ff6ababd37a UnrealEditor-Cmd.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
PackagingResults: Error: [Callstack] 0x00007ff6abac0854 UnrealEditor-Cmd.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
PackagingResults: Error: [Callstack] 0x00007ff6abad6984 UnrealEditor-Cmd.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
PackagingResults: Error: [Callstack] 0x00007ff6abad8eb6 UnrealEditor-Cmd.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
PackagingResults: Error: [Callstack] 0x00007ffbcc107614 KERNEL32.DLL!UnknownFunction []
PackagingResults: Error: end: stack for UAT

Have Comments or More Details?

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

6
Login to Vote

Fixed
ComponentUE - Virtual Production - Avalanche
Affects Versions5.3
Target Fix5.4
CreatedSep 20, 2023
ResolvedJan 19, 2024
UpdatedMar 8, 2024
View Jira Issue