Reference to my custom animation blueprint is nulled when I package the game.

We use a DataAsset that just wraps around a TMap<FString, UObject*>, in this dataasset we include a reference to an AnimationBlueprint that is childed from a custom AnimInstance class. When i run this from editor we can fetch the reference and call GetAnimBlueprintGeneratedClass() no problem. When we run this in a packaged version the reference to the animblueprint is nulled and useless.

I have no idea what is going on here and i have spent a full working day banging my head against the wall now. And in addition I have no clue where I should post this.

pls help.