Having trouble resolving: Blueprint Runtime error: "Accessed None trying to read property SaveGameReference"...

Here’s the full error:

This error only shows whenever I stop or quit the simulation. I’m going to post the full solution here to the best of my ability to help with troubleshooting.

BP_GameInstance:
image

BP_SaveGame:

image

BP_ThirdPersonCharacter:

W_MainMenu:

W_InGameMenu:

MainMenuLevel:

Debug on Game Start:

Load via “Continue”:

New Game:

Otherwise, this solution has the expected behavior of being able to save an integer variable on the BP_ThirdPersonCharacter to hard drive, then load it on successive loads. Thank you in advance.

Hi, when are you calling the create save game event?

I am only calling it when button-Start is clicked or when button-Save Game is clicked I believe. Maybe an easy solution would be to just call it when Event Construct happens? Or when the game loads initially. Not really sure how that would pan out in the grand scheme of the save system but I think that’s what you’re getting at.

I resolved this issue by adding “Event Init” to my game instance and using it to initialize a save file for Save Game Reference:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.