Hello, im adding seriliazition to my project but so far im only getting errors, save&loading is working but i want to know why im getting these errors and what i can do for them ? :
edit. These errors appears right after loading save game.
Hi, i tought you could see what i have seriliazed on the picture I basicly just selected “PlayerManager” object and pushed “Store information + all children”. That magenta stuff is Riva tuner statics , check google
Edit.
That method works with all other objects, like my night table has scripts and stuff. No errors. Only errors fires up when i assign my player object to be stored…
I dont know what i did but somehow now i only get 1 error:
Serialization error: Serialization.UnitySerializer+MissingConstructorException: Could not construct an object of type 'System.IO.StreamWriter', it must be creatable in this scope and have a default parameterless constructor or you should handle the CreateType event on UnitySerializer to construct the object
at Serialization.UnitySerializer.CreateInstance (System.Type itemType) [0x0009a] in D:\Pilvi\Copy\Kissakalat\Project Amber\Assets\Plugins\whydoidoit.com\Serialization\UnitySerializer.cs:1764
Any ideas which causes IO error ? Should i ignore it ?
Okey guys, i have fixed all errors. But im facing new problem ! Why Unity Serializer screws one of my doors Y rotation ? when im saving rotation gets 5-10 more or less from real value.
Okey i still got same problem with doors. They got wrong rotation everytime i save my game and now there is new problem… Somehow serializer is removing one of my scripts from player object without giving any error log…
What code you want to see ?? You can get unity serializer from http://whydoidoit.com/unityserializer/ , there is also all the code what im using. Its not really CODE related issue. I want to know why and what causes :
Door rotation to get messed up ( door has hingejoint ) when save happens
Removing one of my scripts from player object without any error log
Door rotation to get messed up ( door has hingejoint ) when save happens
Removing one of my scripts from player object without any error log
Im happy to provide more info if needed. Author is disappeared and not answering to mails.