So I'm fighting a problem with ''Save frame position''/''Load frame position'' function for some time. I've managed to use this event successfully to make a save game / load game functionality for my game.
However, something strange is happening after I load my game. The fonts in the main game scene change to the default, the size of the font and font visibility can change at random. What's even worse - sometimes this results in game crashing (both in the editor and compiled build). I didn't have this problem before - save/load frame position worked pretty ok. But whatever I do - I can't seem to find what exactly causes my fonts to become broken after loading.
Here is a video of the error (in this example some font becomes invisible - or maybe too big to be able to fit inside the screen / too small to be shown - and some text just lose font name and change to some basic font):
In order for my font to be embedded I used this tutorial as an example:
To save/load the game I'm using ''save frame position'' / ''load frame position'' events in this way:
* going to another frame and back (and using a global value) is required to eliminate other bugs I've encountered with saving/loading.
Can you please help me do something with this issue? Maybe you can at least point me in a right direction? I can provide you with more info if you need it.
Some people have recommended me to abandon Save frame position / Load frame position method and use .ini file intead. But my game is an RPG and it has hundreds of objects and positions / values / flags to be saved. In order to make .ini save possible I would have to spend months and months to make it work like this.
Thanks in advance