Skip to content

GuidReference binary serialization #15

Description

@Xroft666

I would suggest getting that GuidReference class to be completly compatible with binary serialization.
At the moment, when trying to save a reference, one would get errors like these

SerializationException: Type 'UnityEditor.SceneAsset' in Assembly 'UnityEditor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.

Marking that to non serialized obviously would render its drawer not as cool as it is :)
Same goes even for the "gameObject" property, it somehow wants to serialize even that.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions