You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do you want to see?
If a type can't be found when deserializing, look for types with the same name in a different namespace.
How would it help players?
Don't crash when loading old games after types are moved around (e.g. savegames linked to bugs such as #295 after working on #300 or #152)
Alternatives
Type aliases for serialization - this would also save space in savegames not writing down long namespace names, but I'm not sure if it would be possible to do without modifying all the types or if static interface methods can access the concrete type name to get a default serialization alias if none is provided.
Screenshots and mockups
N/A
Things to consider
A cache dictionary for mapping serialized type names to actual types would cut down on repeated reflection calls.
The text was updated successfully, but these errors were encountered:
What do you want to see?
If a type can't be found when deserializing, look for types with the same name in a different namespace.
How would it help players?
Don't crash when loading old games after types are moved around (e.g. savegames linked to bugs such as #295 after working on #300 or #152)
Alternatives
Type aliases for serialization - this would also save space in savegames not writing down long namespace names, but I'm not sure if it would be possible to do without modifying all the types or if static interface methods can access the concrete type name to get a default serialization alias if none is provided.
Screenshots and mockups
N/A
Things to consider
A cache dictionary for mapping serialized type names to actual types would cut down on repeated reflection calls.
The text was updated successfully, but these errors were encountered: