“Are you experiencing the issue in an Editor or cooked build?”
Editor, when cooking using the following parameters or when running commandlets.
Running: UnrealEditor-Cmd.exe “ProjectNameGoesHere” -run=Cook -TargetPlatform=LinuxServer -buildmachine -unversioned -fileopenlog -abslog=“LogPathGoesHere.txt” -stdout -CrashForUAT -unattended -NoLogTimes -buildmachine -UTF8Output
“How is /Script/Atlas.InventoryComponent referenced?”
Via a TObjectPtr<> which is populated within UpdateAssetBundleData() which is an overriden function from UPrimaryDataAsset.
UPROPERTY(BlueprintReadOnly, EditDefaultsOnly, Category = “Gameplay”, Instanced, meta = (ShowInnerProperties, NoElementDuplicate))
TArray<TObjectPtr<UItemFragment>> ItemFragments;
`#if WITH_EDITORONLY_DATA
void UItemDefinition::UpdateAssetBundleData()
{
Super::UpdateAssetBundleData();
for (UItemFragment* ItemFragment : ItemFragments)
{
if (ItemFragment)
{
ItemFragment->AddAdditionalAssetBundleData(AssetBundleData);
}
}
}
#endif // WITH_EDITORONLY_DATA`“Let us know if you uncover anything more so that we can see where it makes sense to add more logging/context.”
I added some debug to print out the full callstack to show the path the error is taking, as shown below. One key thing to note is that we have our own asset manager implementation UCCPAssetManager which does some basic logic but does take action during UAssetManager::OnAssetRegistryFilesLoaded, as shown below.
LogUObjectGlobals: Warning: Failed to find object 'Object /Script/Atlas.InventoryComponent' LogOutputDevice: Error: === Handled ensure: === LogOutputDevice: Error: LogOutputDevice: Error: Ensure condition failed: Existing->Target [File:C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Engine\Private\StreamableManager.cpp] [Line: 1343] LogOutputDevice: Error: LogOutputDevice: Error: Stack: LogOutputDevice: Error: [Callstack] 0x00007ffcbd399922 UnrealEditor-Engine.dll!FStreamableManager::StreamInternal() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Engine\Private\StreamableManager.cpp:1343] LogOutputDevice: Error: [Callstack] 0x00007ffcbd398327 UnrealEditor-Engine.dll!FStreamableManager::StartHandleRequests() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Engine\Private\StreamableManager.cpp:1562] LogOutputDevice: Error: [Callstack] 0x00007ffcbd39149c UnrealEditor-Engine.dll!FStreamableManager::RequestAsyncLoadInternal() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Engine\Private\StreamableManager.cpp:1527] LogOutputDevice: Error: [Callstack] 0x00007ffcbd391637 UnrealEditor-Engine.dll!FStreamableManager::RequestSyncLoadInternal() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Engine\Private\StreamableManager.cpp:1550] LogOutputDevice: Error: [Callstack] 0x00007ffcbb88bbc1 UnrealEditor-Engine.dll!UAssetManager::LoadAssetListInternal() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Engine\Private\AssetManager.cpp:2279] LogOutputDevice: Error: [Callstack] 0x00007ffcbb84a3e5 UnrealEditor-Engine.dll!UAssetManager::ChangeBundleStateForPrimaryAssets() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Engine\Private\AssetManager.cpp:1854] LogOutputDevice: Error: [Callstack] 0x00007ffcbb88bffa UnrealEditor-Engine.dll!UAssetManager::LoadPrimaryAssets() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Engine\Private\AssetManager.cpp:2103] LogOutputDevice: Error: [Callstack] 0x00007ffc99cf54ad UnrealEditor-CCPCoreRuntime.dll!UCCPAssetManager::PostInitialAssetScanOfType() [C:\BuildAgent\work\aeb477b3d20c2c2c\Atlas\Plugins\CCPCore\Source\CCPCoreRuntime\Private\Systems\CCPAssetManager.cpp:178] LogOutputDevice: Error: [Callstack] 0x0000024f3b691450 UnrealEditor-Atlas.dll!UAtlasAssetManager::PostInitialAssetScan() [C:\BuildAgent\work\aeb477b3d20c2c2c\Atlas\Source\Atlas\Systems\AtlasAssetManager.cpp:63] LogOutputDevice: Error: [Callstack] 0x00007ffcbb890a8b UnrealEditor-Engine.dll!UAssetManager::OnAssetRegistryFilesLoaded() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Engine\Private\AssetManager.cpp:3979] LogOutputDevice: Error: [Callstack] 0x00007ffcbb85eeb7 UnrealEditor-Engine.dll!TBaseUObjectMethodDelegateInstance<0,UAssetManager,void __cdecl(void),FDefaultTSDelegateUserPolicy>::ExecuteIfSafe() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:667] LogOutputDevice: Error: [Callstack] 0x00007ffcb4795343 UnrealEditor-AssetRegistry.dll!TMulticastDelegate<void __cdecl(void),FDefaultTSDelegateUserPolicy>::Broadcast() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:1079] LogOutputDevice: Error: [Callstack] 0x00007ffcb4796c85 UnrealEditor-AssetRegistry.dll!UAssetRegistryImpl::Broadcast() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\AssetRegistry\Private\AssetRegistry.cpp:9285] LogOutputDevice: Error: [Callstack] 0x00007ffcb48022dc UnrealEditor-AssetRegistry.dll!UAssetRegistryImpl::WaitForCompletion() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\AssetRegistry\Private\AssetRegistry.cpp:2069] LogOutputDevice: Error: [Callstack] 0x00007ffcb7a9a12e UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::BlockOnAssetRegistry() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:9050] LogOutputDevice: Error: [Callstack] 0x00007ffcb7b1d980 UnrealEditor-UnrealEd.dll!UCookOnTheFlyServer::StartCookByTheBook() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp:11915] LogOutputDevice: Error: [Callstack] 0x00007ffcb77a9a1a UnrealEditor-UnrealEd.dll!UCookCommandlet::RunCookByTheBookCook() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:587] LogOutputDevice: Error: [Callstack] 0x00007ffcb7765387 UnrealEditor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:547] LogOutputDevice: Error: [Callstack] 0x00007ffcb77862d3 UnrealEditor-UnrealEd.dll!UCookCommandlet::Main() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Editor\UnrealEd\Private\Commandlets\CookCommandlet.cpp:267] LogOutputDevice: Error: [Callstack] 0x00007ff6f004eb5e UnrealEditor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4154] LogOutputDevice: Error: [Callstack] 0x00007ff6f0045566 UnrealEditor-Cmd.exe!GuardedMain() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Launch\Private\Launch.cpp:144] LogOutputDevice: Error: [Callstack] 0x00007ff6f00458aa UnrealEditor-Cmd.exe!GuardedMainWrapper() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:123] LogOutputDevice: Error: [Callstack] 0x00007ff6f0049124 UnrealEditor-Cmd.exe!LaunchWindowsStartup() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:277] LogOutputDevice: Error: [Callstack] 0x00007ff6f005bd14 UnrealEditor-Cmd.exe!WinMain() [C:\BuildAgent\work\aeb477b3d20c2c2c\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:317] LogOutputDevice: Error: [Callstack] 0x00007ff6f005e432 UnrealEditor-Cmd.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288] LogOutputDevice: Error: [Callstack] 0x00007ffcf8c2259d KERNEL32.DLL!UnknownFunction [] LogOutputDevice: Error: [Callstack] 0x00007ffcfa12af38 ntdll.dll!UnknownFunction []