Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tomspilman/30fe05c102ae2681804c1f0e84812cdd to your computer and use it in GitHub Desktop.
Save tomspilman/30fe05c102ae2681804c1f0e84812cdd to your computer and use it in GitHub Desktop.
EXCEPTION handling: System.InvalidOperationException: To be XML serializable, types which inherit from ICollection must have an implementation of Add(Microsoft.Xna.Framework.Vector2) at all levels of their inheritance hierarchy. XXXXXXXX.XXXXXXXX.OverlaidDictionary`2[[Microsoft.Xna.Framework.Vector2, MonoGame.Framework, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null],[XXXXXXXX.XXXXXXXX, XXXXXXXX, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null]] does not implement Add(Microsoft.Xna.Framework.Vector2).
EXCEPTION handling: System.InvalidOperationException: There was an error reflecting field 'objects'.
EXCEPTION handling: System.InvalidOperationException: There was an error reflecting type 'XXXXXXXX.XXXXXXXX'.
EXCEPTION handling: System.InvalidOperationException: There was an error reflecting type 'System.Object'.
EXCEPTION handling: System.InvalidOperationException: There was an error reflecting field 'scale'.
EXCEPTION handling: System.InvalidOperationException: There was an error reflecting type 'XXXXXXXX.XXXXXXXX'.
EXCEPTION handling: System.InvalidOperationException: There was an error reflecting field 'player'.
EXCEPTION handling: System.InvalidOperationException: There was an error reflecting type 'XXXXXXXX.SaveGame'.
EXCEPTION handling: System.TypeInitializationException: The type initializer for 'XXXXXXXX.SaveGame' threw an exception.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment