I have a player with a script named player attached to it. The string contains basic info such as Name, id etc... It appears in the type tab of easy save and the correct value to be saved are ticked.
But it seems that on loading by player object load without the script!
Tried with other scripts too, help!
Es3 Not saving script attached to gameObject
Re: Es3 Not saving script attached to gameObject
When i convert the save file to string , it appears the script is here:
Why does it not load it ?
( I am using the updated easy save package you sent me, on another project with the older one it was working)
Code: Select all
{"__type":"Player,Assembly-CSharp","_ES3Ref":3831171309903071858,"goID":3905550592535159737,"age":5,"spriteType":0,"gamePosition":{"x":0,"y":0},"gameScale":{"x":0,"y":0},"menuScale":{"x":0,"y":0}}]}}}
UnityEngine.Debug:Log(Object)
SaveGameManager:SaveMenu() (at Assets/Scripts/SaveGameManager.cs:18)
UnityEngine.EventSystems.EventSystem:Update()
( I am using the updated easy save package you sent me, on another project with the older one it was working)
Re: Es3 Not saving script attached to gameObject
Hi there,
As noted in the docs, it will only save explicitly supported types (i.e. ones which have an ES3Type file associated with it).
If you uncheck and check a variable in the Types window, this should generate an ES3Type, and it should work.
I'll see about adding an indication of whether a type is explicitly-supported or automatically-supported to the Types pane in the next update.
All the best,
Joel
As noted in the docs, it will only save explicitly supported types (i.e. ones which have an ES3Type file associated with it).
If you uncheck and check a variable in the Types window, this should generate an ES3Type, and it should work.
I'll see about adding an indication of whether a type is explicitly-supported or automatically-supported to the Types pane in the next update.
All the best,
Joel
Re: Es3 Not saving script attached to gameObject
already unticked and ticked. Its loading the gameobject without the script.
Re: Es3 Not saving script attached to gameObject
That's very strange, it could be a bug only affecting the particular version I sent you, as I don't seem to be able to replicate anything like this at my end.
Please could you PM me a basic project so I can see what's happening?
All the best,
Joel
Please could you PM me a basic project so I can see what's happening?
All the best,
Joel
Re: Es3 Not saving script attached to gameObject
I reverted to the earlier version available on the asset store and it works. I did not change any code , so i guess its the update. Well now the other bug is back :/.. could you provide me another update file ?