Description

There is an issue where renaming assets keep the old files, which can easily occur after renaming files after a lunched project. This issue keeps old versions of files, these files keep in the content folder, retaining their old names as well. This issue does not appear to be a regression.

Versions Tested: Issue occurs in all versions tested
4.17.2 CL - 3658906
4.18.3 CL - 3832480
4.19p3 CL - 3861363

Steps to Reproduce
  1. Create a new project (No template or starter content needed)
  2. Create a new widget > name it "Widget1" > open Widget1 and add a button to the canvas panel
  3. Create a new widget > name it "Widget2" > open Widget2 and add widget1 to the canvas panel
  4. Launch the project for Windows
  5. While the project is open rename "Widget1" to "Renamed"
  6. Close the launch and package the project
    Result: The game cannot package and displays a critical error
    Expected Result: The project packages with no issue
Callstack
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: begin: stack for UAT
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: === Handled ensure: ===
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error:
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: Ensure condition failed: ShouldSerializeWidgetTree(TargetPlatform) == false [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\UMG\Private\UserWidget.cpp] [Line: 1721]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: Stack:
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000D57F2786 UE4Editor-Core.dll!FWindowsPlatformStackWalk::StackWalkAndDump() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\windows\windowsplatformstackwalk.cpp:200]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000D559123A UE4Editor-Core.dll!FDebug::EnsureFailed() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:298]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000D55AB906 UE4Editor-Core.dll!FDebug::OptionallyLogFormattedEnsureMessageReturningFalse() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:425]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000CDA2C2C2 UE4Editor-UMG.dll!UUserWidget::PreSave() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\umg\private\userwidget.cpp:1721]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000D50D1077 UE4Editor-CoreUObject.dll!FPackageExportTagger::TagPackageExports() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\savepackage.cpp:2828]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000D50BA5F6 UE4Editor-CoreUObject.dll!UPackage::Save() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\savepackage.cpp:3523]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000CEA8EB8D UE4Editor-UnrealEd.dll!UEditorEngine::Save() [d:\build\++ue4+release-4.18+compile\sync\engine\source\editor\unrealed\private\editorengine.cpp:4220]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000CE95112E UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackage() [d:\build\++ue4+release-4.18+compile\sync\engine\source\editor\unrealed\private\cookontheflyserver.cpp:3229]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000CE952473 UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackages() [d:\build\++ue4+release-4.18+compile\sync\engine\source\editor\unrealed\private\cookontheflyserver.cpp:2300]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000CE95E3B7 UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::TickCookOnTheSide() [d:\build\++ue4+release-4.18+compile\sync\engine\source\editor\unrealed\private\cookontheflyserver.cpp:1763]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000CE7F7D61 UE4Editor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [d:\build\++ue4+release-4.18+compile\sync\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:902]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000CE81F391 UE4Editor-UnrealEd.dll!UCookCommandlet::Main() [d:\build\++ue4+release-4.18+compile\sync\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:583]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000003F5DD25F UE4Editor-Cmd.exe!FEngineLoop::PreInit() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2167]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000003F5D525A UE4Editor-Cmd.exe!GuardedMain() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\launch.cpp:127]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000003F5D54AA UE4Editor-Cmd.exe!GuardedMainWrapper() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000003F5E2379 UE4Editor-Cmd.exe!WinMain() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000003F5E3193 UE4Editor-Cmd.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00000000774359CD kernel32.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: Error: [Callstack] 0x000000007756A561 ntdll.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)):   LogInit: Display: LogOutputDevice: 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-54776 in the post.

9
Login to Vote

Won't Fix
ComponentTools
Affects Versions4.174.184.19
CreatedFeb 2, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021