Description

Running the ResavePackages commandlet will consistently result in a crash. The callstack is here:

Assertion failed: !IsRooted() [Link Removed] [Line: 265]

UnrealEditor_Engine!UMaterialInterface::PreSave() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialInterface.cpp:1629]
UnrealEditor_Engine!UMaterial::PreSave() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\Material.cpp:1056]
UnrealEditor_CoreUObject!UE::SavePackageUtilities::CallPreSave() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage\SavePackageUtilities.cpp:656]
UnrealEditor_CoreUObject!`anonymous namespace'::RoutePresave() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage2.cpp:278]
UnrealEditor_CoreUObject!UPackage::Save2() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage2.cpp:3062]
UnrealEditor_CoreUObject!UPackage::Save() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\SavePackage.cpp:20]
UnrealEditor_UnrealEd!UEditorEngine::Save() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:4707]
UnrealEditor_UnrealEd!UEditorEngine::SavePackage() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:4716]
UnrealEditor_UnrealEd!SavePackageHelper() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\PackageUtilities.cpp:294]
UnrealEditor_UnrealEd!UResavePackagesCommandlet::LoadAndSaveOnePackage() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\ContentCommandlets.cpp:954]
UnrealEditor_UnrealEd!UResavePackagesCommandlet::Main() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\ContentCommandlets.cpp:1348]
UnrealEditor!FEngineLoop::PreInitPostStartupScreen() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4136]
UnrealEditor!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:140]
UnrealEditor!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
UnrealEditor!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
UnrealEditor!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
UnrealEditor!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

 

Steps to Reproduce
  • Create a new 5.3 project
  • Run the ResavePackages commandlet, with the engine closed and without any arguments
  • Observe it run for some time and then crash with the stack provided in the description

Have Comments or More Details?

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

2
Login to Vote

Unresolved
ComponentUE - Rendering Architecture - Materials
Affects Versions5.35.3.2
Target Fix5.6
CreatedFeb 20, 2024
UpdatedOct 18, 2024
View Jira Issue