Cast GameInstance fail only after packaging the project

Hello, I need help for resolve a BIG GameInstance problem.
I have a string variable, i want to cast him in my level blueprint. when i cast him in standalone or in viewport all work correctly but if i package my entire project the cast fail…
The same if i cast the Game instance in a actor/Character.

Hey, I have the same issue, I didn’t figure out it yet, do you have a solution?

EDIT: here’s the solution:

  • locate and edit Config/DefaultEngine.ini
  • search for line “GameInstanceClass=” (10. line for me)
  • edit the directory according to your UE4 editor GameInstance location

Hope it helps.