[Con] Buffs are not restored correctly while loading a game


#1

so this happened when i just tried to load my saved game :frowning:


#2

Hey @Zoljin, are you experiencing the same issue as in this thread?


#3

I didn’t move my camera as i loaded in though so that is weird, i was patiently waiting for it to just load and it did that to me


#4

@Ponder and @not_owen_wilson are looking at this right now


#5

To be honest that’s the same as me, Zoljin. I’m not entirely sure about the title of the thread. However, the game-crashing effect probably only happened upon the moving of the view – the other effects (e.g. being all the way into the ground so you only see sky) happen as soon as you load.


#6

Got it–we were trying to index the map of buffs by the value of the buff, and not its uri. (The buff would still be destroyed, but would sit around forever, and then get dehydrated/rehydrated on save/load, and then when its duration would be set, would be incorrect). Kinda surprised we didn’t run into this more often when testing.

Keep 'em coming!


#7

Woo!

I wish I could put a numerical value on the generosity of this statement, but if I could, it would be astonishingly big, like the size of the sun.