serialized save and load not working in onEnable (SerializationStream supports seeking, but its length is 0)
Hello!
I've been working on a rather large and complex save and load (so I won't give all the code for everyone's sake). So far I've tested it out in the game and it works fine. I press a button to save, and another to load. However, now when everything finally works in the game, I want to remove the buttons and have these things autoload and autosave. However, when I move my Load function to either onEnable or Start, I get this error: "SerializationException: serializationStream supports seeking but its lenght is 0".
I'm a novice programmer. If someone could point me in the right direction that would be so great! :D thanks in advance
Your answer
Follow this Question
Related Questions
How do i add coins in my Save Total Coin, everytime i collect more coins in the game? 0 Answers
problem with loading data with serialization in the right time 0 Answers
Cannot Convert from NewGame to CubeAI 0 Answers
Why Does My Saved Data Not Load? 0 Answers
Save/load not work on mobile phone 1 Answer