Steps to reproduce:
- Create a builder for a string type name, set field, put to cache
- On another node, read this object, call ToBuilder, call Build
Type name is not propagated with metadata, which leads to assertion error (with -ea) or "Two binary types have duplicate type ID [typeId=949122880, typeName1=Security, typeName2=null]]" error.
Workaround is to register the type by name on start: