# Game Crash when try to set animblueprint as anim instance class after launch or packeging

**URL:** <https://forums.unrealengine.com/t/game-crash-when-try-to-set-animblueprint-as-anim-instance-class-after-launch-or-packeging/451007>\
**Category:** Blueprint\
**Tags:** launch-crash, unreal-engine, crash, UE4, question, Blueprint, CPP\
**Created:** [June 20, 2019, 5:16pm UTC](https://forums.unrealengine.com/t/game-crash-when-try-to-set-animblueprint-as-anim-instance-class-after-launch-or-packeging/451007 "2019-06-20T17:16:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ninjt500](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ninjt500](https://forums.unrealengine.com/u/Ninjt500)\
**Post date:** [June 20, 2019, 5:16pm UTC](https://forums.unrealengine.com/t/game-crash-when-try-to-set-animblueprint-as-anim-instance-class-after-launch-or-packeging/451007/1 "2019-06-20T17:16:02Z")

</div>

I’ve finished doing my game and in the editor it works just fine, but if a try to launch or packege the project in to a .exe file, when I load the main level, by default or through the main menu, the game crash and I get in the log that the problem is in line 128 of my character’s cpp file, inside the beginplay function, wich is where I set her animation instace class as a animblueprint. I’ve already tried to set the bdontloadblueprintoutsideeditor to false but when I open my defaulteditor.ini is just empty and I dont know how to set the variable.
