# UT like LevelSummary, FLinker::Preload fails

**URL:** <https://forums.unrealengine.com/t/ut-like-levelsummary-flinker-preload-fails/408981>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [November 7, 2017, 5:42pm UTC](https://forums.unrealengine.com/t/ut-like-levelsummary-flinker-preload-fails/408981 "2017-11-07T17:42:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Memnarch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Memnarch](https://forums.unrealengine.com/u/Memnarch)\
**Post date:** [November 7, 2017, 5:42pm UTC](https://forums.unrealengine.com/t/ut-like-levelsummary-flinker-preload-fails/408981/1 "2017-11-07T17:42:34Z")

</div>

Hi,  
For our project i wrote a Levelsummary system like the one implemented for UnrealTournament. As i can’t share my code right now, i will point to the parts in the UT code(since all i had to change was how to get the assets from the AssetRegistry, a bit). For UT they extended the WorldSettings class, and added a property LevelSummary which holds all the SummaryValues. During runtime, they extract this LevelSummary-Object from the map, without loading it completely.  
This is the summary-object:  
[UTLevelSummary.h](https://github.com/EpicGames/UnrealTournament/blob/461b4ed5ebe19cef75134f310af3f8e16f122aed/UnrealTournament/Source/UnrealTournament/Public/UTLevelSummary.h)  
This is their WorldSettings which uses the object as aggregation:  
[UTWorldSettings.h](https://github.com/EpicGames/UnrealTournament/blob/461b4ed5ebe19cef75134f310af3f8e16f122aed/UnrealTournament/Source/UnrealTournament/Public/UTWorldSettings.h)  
And this is the code for loading the summary-object at runtime. In my code i moved it from the Gameinstance to a FunctionLibrary:  
[UUTGameEngine::LoadLevelSummary](https://github.com/EpicGames/UnrealTournament/blob/f96172e8177ba990110efd26a7438b9bfa415bae/UnrealTournament/Source/UnrealTournament/Private/UTGameEngine.cpp#L962)

The problem i am facing is, that the code seems to work fine. Until i package the game or cook the content. Then the following will fail:

```
Linker->Preload(Export.Object);

```

> Assertion failed: InPos \>= 0 && InPos \<= TotalSizeOrMaxInt64IfNotReady() [File:\Build++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 7183]

Has anybody an idea on why this happens?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6422f7d5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6422f7d5](https://forums.unrealengine.com/u/anonymous_user_6422f7d5)\
**Post date:** [February 4, 2018, 11:30pm UTC](https://forums.unrealengine.com/t/ut-like-levelsummary-flinker-preload-fails/408981/2 "2018-02-04T23:30:17Z")

</div>

Hello, did you ever find a solution to this? I am currently experiencing this on 4.18.
