diff --git a/uppsrc/Core/Value.cpp b/uppsrc/Core/Value.cpp index 31d40d6ca..640926de3 100644 --- a/uppsrc/Core/Value.cpp +++ b/uppsrc/Core/Value.cpp @@ -165,6 +165,7 @@ void Value::Serialize(Stream& s) { } else { type = GetType(); + ASSERT_(!type || Typemap().Find(type) >= 0, "Missing RichValueType<" + AsString(type) + ">::Register"); s / type; ptr->Serialize(s); }