# Assertion failed after loading game

**URL:** <https://forums.unrealengine.com/t/assertion-failed-after-loading-game/361958>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 25, 2016, 6:39am UTC](https://forums.unrealengine.com/t/assertion-failed-after-loading-game/361958 "2016-06-25T06:39:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_781d053b1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_781d053b1](https://forums.unrealengine.com/u/anonymous_user_781d053b1)\
**Post date:** [June 25, 2016, 6:39am UTC](https://forums.unrealengine.com/t/assertion-failed-after-loading-game/361958/1 "2016-06-25T06:39:36Z")

</div>

Hello.

I have trouble with never-ending crashing when my game ends loading. Log output gives my only one thing about this:

```
LogWindows:Error: === Critical error: ===
Assertion failed: ClassAddReferencedObjects != NULL [File:D:\Build\++UE4+Release-4.12+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp] [Line: 1831] 

```

I’m 100% sure something is wrong with my C++ code so the question is where this assertion can be encountered after loading game (Editor don’t show up yet because of this error).
