So my problem is, load seems to not read the save data, or even choose the data by itself?
Let me explain, every first save I will make, does nothing. Like there is a quick loading, but game refresh itself, like I would just click play again in the editor. Location is reset, same as mana level.
But every next save behave unexpecetedly. Its opens test level (and there is no reference to it, so i to not know why its opening it, also resets mana level.
Could somebody explain me what I did wrong here? I tried to figure it out by myself, but like I said I cannot find where the mistake is.
Blueprints:
(Sorry if they are a bit messy, I tried some things to repair..)
Hello @Kyrkke , Welcome to the forums!
I recommend this tutorial, which explains in detail how to properly handle the Load & Save system.
This one is also well explained and covers UI as well.
There are also other tutorials in the Learning section that might be helpful to you.
Also, just to be sure, make sure you’ve assigned your Game Instance in Project Settings, as mentioned in this post.
As a tip, start by building a simple system ,for example, saving just one statistic, and test it step by step, you can use breakpoints (select a node and press F9 to check if it’s being called). Once you have the basics working, you can expand it, and it should work correctly. If it doesn’t, this approach will help you pinpoint what’s not working.
I’m also leaving the official documentation here, which might be useful.