If you run into a problem or get an error and are unsure, feel free to drop me an email at ([email protected]) and I’ll do my best to help you out.
My SaveData.cs class has an error after I generated/changed the class from the editor: Please make sure you didn’t do any of the following:
- Set a class field that was not spelt correctly
- Have another script in the same namespace called SaveData.cs
I can’t save a Vector or Color:
Please make sure the ExtraSaveTypes.cs class is imported into the project.
Why can’t I find the Save Manager in my code?
Please make sure that you are using the namespace and have imported th eporject correctly.
Where do I put the save/load code?
This is up to you. You put it where you need it! We recommend that you put it in Awake/Start Methods or in a custom method that only gets called once. If you are going to put the loading code in Update we recommend you have a boolean that is used to check if the game has loaded, once run you set it to true it running more than once.