# Development server throws an exception in FBufferReaderBase::Serialize

**URL:** <https://forums.unrealengine.com/t/development-server-throws-an-exception-in-fbufferreaderbase-serialize/2255738>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, crash, bug-report, question\
**Created:** [January 2, 2025, 2:13pm UTC](https://forums.unrealengine.com/t/development-server-throws-an-exception-in-fbufferreaderbase-serialize/2255738 "2025-01-02T14:13:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![quoicoubehquebec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@quoicoubehquebec](https://forums.unrealengine.com/u/quoicoubehquebec)\
**Post date:** [January 2, 2025, 2:13pm UTC](https://forums.unrealengine.com/t/development-server-throws-an-exception-in-fbufferreaderbase-serialize/2255738/1 "2025-01-02T14:13:59Z")

</div>

Hey all, i have a weird issue since i started using a game instance implemented in C++ and not blueprint

1. When i launch via `UnrealEditor.exe MyProject.uproject -log -server` the Init() override of my game instance is not called, maybe it’s because its using the wrong game session?
2. When i launch via `{DebugGame/Development} Server` in VS or Rider i get `LogAssetRegistry: Error: Failed to load premade asset registry. LoadResult == 1` followed by `Assertion failed: ReaderPos + Num <= ReaderSize [File:C:\Unreal\UE\UE\Engine\Source\Runtime\Core\Public\Serialization\BufferReader.h] [Line: 52]`. When i hit “continue” it does the same thing but with a `ReaderPos` increased by 2. Going up the call stack shows me it is trying to load the file `/Engine/Content/EngineMaterials/WorldGridMaterial.uasset`. My engine is source built, i have tried to replace it with the file in the 5.5.1 version i download from epic games launcher, to no success.

The main issue is 2, but i think the two are linked. I have had the exact same issue with another game instance class, so i made a new one, only to get this issue when i started adding code.  
Happy new year and please help 🙂

---

<div class="post-metadata">

**Author:** ![quoicoubehquebec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@quoicoubehquebec](https://forums.unrealengine.com/u/quoicoubehquebec)\
**Post date:** [January 2, 2025, 2:14pm UTC](https://forums.unrealengine.com/t/development-server-throws-an-exception-in-fbufferreaderbase-serialize/2255738/2 "2025-01-02T14:14:38Z")

</div>

[This guy](https://forums.unrealengine.com/t/problem-with-premade-asset-registry-when-trying-to-start-a-built-development-server/1925318) appears to have had a somewhat similar issue

---

<div class="post-metadata">

**Author:** ![quoicoubehquebec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@quoicoubehquebec](https://forums.unrealengine.com/u/quoicoubehquebec)\
**Post date:** [January 7, 2025, 9:15pm UTC](https://forums.unrealengine.com/t/development-server-throws-an-exception-in-fbufferreaderbase-serialize/2255738/3 "2025-01-07T21:15:27Z")

</div>

i’m still on this btw, considering submitting a bug report
