Casting Issue

Hello, everyone. I’ve got a problem with casting and actually I don’t understand anything. So I got my Game Instance, wich is called “Weapon Game Instance” and I’m trying to cast to it in my Character’s blueprint on Event Begin Play and each time cast is failed. And also I’m casting to it before load level to save an information about Character’s weapon Index. In my Game Instance I’ve got only one variable and nothing more. I don’t understand yesterday everything was working and today all is broken.

Have you set the game instance of the game to your Weapon Game Instance? Casting that way only works if the concrete type of the game instance actually is a weapon game instance.

Uhhh… Yes of course, I’ve totaly forgot about that, thank you!