Unity Seriliazier problem - Picture included !

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.

Please help me !

Can you define a bit more what is your serialization?

Like LightStriker says, we need more information to be able to help.

But… I have a question for you. How have you managed to add that magenta text onto all of those editor windows?

Hi, i tought you could see what i have seriliazed on the picture :slight_smile: 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 ?

and, i have exactly this same problem… Does anyone know what causes this ?
http://whydoidoit.com/forums/topic/unity-serializer-with-hingejoint-for-doors/

Anyone ?

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…

Bump

And I still have no idea what you’re doing, and you still haven’t post any snippet of code.

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 :

  1. Door rotation to get messed up ( door has hingejoint ) when save happens
  2. Removing one of my scripts from player object without any error log

I guess you should take it with the author of Unity Serializer then.

2 Likes

So far no answer from author, if anyone has same problems and you have sorted it, please tell me how. :slight_smile:

No answer from author. I need help with this !

Still looking for help these problems:

  1. Door rotation to get messed up ( door has hingejoint ) when save happens
  2. 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.

Did you ask here in the serializer support forum?
http://whydoidoit.com/forums/forum/unity-serializer-support/

Havent, will try.