- changed status to open
Error: Data layout mismatch; skipping past array boundary when exiting node
Issue #217
duplicate
Error is generated when loading (via SerializationUtility.DeserializeValue<T>(bytes, format)) a serialized basic class (via SerializationUtility.SerializeValue) that contains dictionaries. Replacing dictionaries with lists using the values from the dictionaries eliminates errors. I tried both enum and strings keys with the dictionarues with the same results.
Data outside of these dictionaries is loaded.
JSON and binary data behave the same, though the error is logged only when using binary serialization. This made tracking this down... harder.
Unity - 2017.1.1f1 Odin - 1.0.5.3
Comments (3)
-
-
- changed status to duplicate
Duplicate of
#223. -
This is with extremely high likelihood the same issue as issue
#223, which should be marked resolved very soon. - Log in to comment
Could you provide an example of a set of json data (or binary as a hex-formatted string, using Odin's ProperBitConverter.BytesToHexString method) and the classes it deserializes into, that reproduces this problem?