Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

serialized save and load not working in onEnable (SerializationStream supports seeking, but its length is 0)

$
0
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

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>