Can load/save save files from menu but not from playercontroller?

I just started learning about save game files and I’ve set up a simple save game class for storing the players name and the likes.

This is from the options menu widget blueprint and it works perfectly, and I have a load function that also works.

However, when I copy this exact script and put it in my playercontroller to load the player name when I get into the game, it doesn’t work. Saving gives a false return value and loading returns nothing.

What am I not understanding? Can I simply not load/save from PCs?

You should be able to, are you using your PC?

214971-controllerassigned.png

Also, can you show this function execute in the PC?

Hi! Yes, the PC is being used, as I’m able to run the other scripts in the PC. I’m sure the script runs as I can put a print node on the end and it fires.

Hm, do you fire any of them in onBeginPlay by any chance?

No, this comes after OnPostLogin from the game mode

When a new player connects to the lobby the GM runs the initial setup event on the individual PC, which contains just the load/save function before sending that info to the server