There’s some rules for write and read parcelables.
1- Be careful about type mismatch. If you write int, don’t try to read long etc.
2- Be careful about order of writes and reads. Objects must be at the same sort order when reading and writing.
Both of these can cause “Unmarshalling unknown type code”.