Save System issue
Sorry I'm not going to be putting down any code for this because its quite a few noscripts at this point, but I have a question. In my save system I'm converting my gamedata to a json text file. One of the things that is being saved are chests and their placement and state in my game.
The chests are being saved the instant they are placed and whenever you open/close it due to the fact that if you leave the scene and come back in, they'll still be there and in their correct state. However, this leads to the problem where if I save the game with no chest in the scene, then place a chest and add stuff to it, then load, theoretically it should go back to before the chest, but its loading the instantly saved data instead. I'm not sure of a way to do it without instantly saving the data or else if I leave the scene and come back it will be gone. Obviously I'm not going to be able to receive code solutions because it's a kind of vague question, but does anyone have any ideas? Like a separate temp save file? I'm not too sure how to approach this.
https://redd.it/1gbfqgk
@r_Unity3D
Sorry I'm not going to be putting down any code for this because its quite a few noscripts at this point, but I have a question. In my save system I'm converting my gamedata to a json text file. One of the things that is being saved are chests and their placement and state in my game.
The chests are being saved the instant they are placed and whenever you open/close it due to the fact that if you leave the scene and come back in, they'll still be there and in their correct state. However, this leads to the problem where if I save the game with no chest in the scene, then place a chest and add stuff to it, then load, theoretically it should go back to before the chest, but its loading the instantly saved data instead. I'm not sure of a way to do it without instantly saving the data or else if I leave the scene and come back it will be gone. Obviously I'm not going to be able to receive code solutions because it's a kind of vague question, but does anyone have any ideas? Like a separate temp save file? I'm not too sure how to approach this.
https://redd.it/1gbfqgk
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
Media is too big
VIEW IN TELEGRAM
I'm still learning how to use Unity and struggling a lot with performance optimization, but I'm really happy with how my game looks so far!
https://redd.it/1gbnwpg
@r_Unity3D
https://redd.it/1gbnwpg
@r_Unity3D