Packaged game without IOStore never hits this error.
E:\dev\ue426\Engine\Build\BatchFiles\RunUAT.bat ScriptsForProject=D:\dev\ue426Projects\ShooterGame425\ShooterGame425.uproject BuildCookRun -project=D:/dev/ue426Projects/ShooterGame425/ShooterGame425.uproject -noP4 -clientconfig=Development -serverconfig=Development -nocompileeditor -ue4exe=E:\dev\ue426\Engine\Binaries\Win64\UE4Editor-Cmd.exe -utf8output -platform=Win64 -targetplatform=Win64 -build -cook -map= -unversionedcookedcontent -encryptinifiles -pak -iostore -manifests -compressed -stage -package -cmdline=" -Messaging" -compile
Result:
The game crashes and displays error dialog
Assertion failed: false [File:E:/dev/ue426/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading2.cpp] [Line: 1147] Package /Game/Effects/Textures/Air/T_cloud_1 destroyed with RefCount
> ShooterGame.exe!FPackageStore::RemovePackage(FPackageId PackageId, UPackage * Package) Line 1147 C++ Symbols loaded.> ShooterGame.exe!FPackageStore::RemovePackage(FPackageId PackageId, UPackage * Package) Line 1147 C++ Symbols loaded. ShooterGame.exe!FPackageStore::RemovePackages(const TArray<TTuple<FName,UPackage *>,TSizedDefaultAllocator<32>> & Packages) Line 1177 C++ Symbols loaded. ShooterGame.exe!FAsyncLoadingThread2::RemoveUnreachableObjects(const TArray<TTuple<int,UObject *>,TSizedDefaultAllocator<32>> & PublicExports, const TArray<TTuple<FName,UPackage *>,TSizedDefaultAllocator<32>> & Packages) Line 5132 C++ Symbols loaded. ShooterGame.exe!FAsyncLoadingThread2::NotifyUnreachableObjects(const TArrayView<FUObjectItem *,int> & UnreachableObjects) Line 5164 C++ Symbols loaded. ShooterGame.exe!NotifyUnreachableObjects(const TArrayView<FUObjectItem *,int> & UnreachableObjects) Line 719 C++ Symbols loaded. ShooterGame.exe!CollectGarbageInternal(EObjectFlags KeepFlags, bool bPerformFullPurge) Line 2041 C++ Symbols loaded. ShooterGame.exe!TryCollectGarbage(EObjectFlags KeepFlags, bool bPerformFullPurge) Line 2177 C++ Symbols loaded. ShooterGame.exe!UEngine::ConditionalCollectGarbage() Line 1365 C++ Symbols loaded. ShooterGame.exe!UWorld::Tick(ELevelTick TickType, float DeltaSeconds) Line 1657 C++ Symbols loaded. ShooterGame.exe!UGameEngine::Tick(float DeltaSeconds, bool bIdleMode) Line 1794 C++ Symbols loaded. ShooterGame.exe!FEngineLoop::Tick() Line 4836 C++ Symbols loaded. [Inline Frame] ShooterGame.exe!EngineTick() Line 62 C++ Symbols loaded. ShooterGame.exe!GuardedMain(const wchar_t * CmdLine) Line 169 C++ Symbols loaded. ShooterGame.exe!GuardedMainWrapper(const wchar_t * CmdLine) Line 137 C++ Symbols loaded. ShooterGame.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * _formal, int nCmdShow) Line 268 C++ Symbols loaded. [Inline Frame] ShooterGame.exe!invoke_main() Line 102 C++ Symbols loaded. ShooterGame.exe!_scrt_common_main_seh() Line 288 C++ Symbols loaded.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-110650 in the post.
2 |
Component | UE - Foundation - Core - RuntimeLoader |
---|---|
Affects Versions | 4.25plus, 4.26 |
Target Fix | 4.27 |
Created | Mar 15, 2021 |
---|---|
Resolved | Mar 31, 2021 |
Updated | Nov 30, 2022 |