LoadGameFromSlot returning two different objects

GreenBaguette192
Mon, 14 Apr 2025 00:50:55 +0000
Programming & Scripting

Hello all. I am attempting to use the SaveGame class and the LoadGameFromSlot functions to create my own custom class.

So far I’ve got a lot of elements working and a fairly decent understanding of how it functions. However, I’ve reached an issue wherein calling LoadGameFromSlot in two different functions returns differing objects, as seen through the debugger. I’ve attached the images, the first is during my load function and the second is during my save function.

I pass it all the same information, cast it to the same custom class, and use the same game instance. I do not understand whatsoever how this is happening. Any and all help is extremely appreciated!!!

3 posts - 2 participants