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

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.