Changing Namespace Removes References

Issue #263 wontfix
Anonymous created an issue

When I change the namespace of my classes, references to them suddenly become null.

Comments (1)

  1. Tor Esa Vestergaard

    This is to do with how serialization fundamentally works. Changing the namespace of a type means that we can no longer find out which type was serialized, as a type's namespace is part of a type's full name. Hence, we can no longer deserialize the stored data for that type, as the names no longer match. Odin does try to figure things out as best it can, but often there simply isn't very much to be done.

  2. Log in to comment