When a player is about to exit the game and wants to be prompted whether to exit without saving, how can I compare the similarities and differences between the game progress and the game save on the disk at this time?
I stored the temporary saveData on the gameInstance. In the blueprint, I directly compared whether they were equal and concluded that they were not equal. Maybe this method should not be used for comparison.
I attempted to compare the specific variables in saveData, and the results were equal. Therefore, the comparison nodes in the blueprint are estimated to directly compare two specific instances, which is of course not equal. However, the contents in these two instances are actually equal.
Therefore, is there a way to have a better comparison method for this situation? Because if there are more and more variables in the game save later, comparing these variables one by one is estimated to become troublesome.