Save Game Cast Fails Every Time. Why???

This is another driving me crazy situation. I have a very simple set-up. Two levels, Level 1 and 2. And a simple interface with 4 buttons. The Save button is supposed to save the name of the Game Level into a SaveGame BP called Saver. The variable in there is a string called Slot1. The Load button is supposed to load or trigger the level once it is pressed. The system is saving the data with no problem; but it will not load the level. I have tried this literally fifty different ways and nothing seems to work. I don’t understand what I am missing. Any insights would be greatly appreciated. I tried to create the most simple possible Save Level and Load and it just will not work for some reason. When I tried to load from the Widget BP, I was constantly getting Access errors, so I switched to the First Person BP and don’t get those errors any more, but the cast is still failing every time.

Any insight or help would be greatly appreciated. It should be easy to recreate the scenario. Thank you!!

Are you definitely saving to slot1?

image

I can see the variable is called slot1, but you literally need ‘slot1’ in there, because that’s the slot you’re loading from.

You can’t have the level name there…

1 Like

he can but then he needs to load from slot with same name :stuck_out_tongue:

2 Likes

Thank you for the responses!!!
I feel pretty stupid because I got confused over the SLOT name and forgetting it is saving out its own data separately from the variable. I did get it resolved with these scripts. Thank you again.

1 Like