Tag: Serialization
All the articles with the tag "Serialization".
[MenuItem] Belongs in an Editor Folder, and a MonoBehaviour Can't Go There
I checked a 2021 round-up of eighteen attributes against the current docs. Most of it holds, but one example asks for two incompatible things, one is something the docs tell you not to use, and one guards less than it looks like it does.
Unity's JsonUtility: The Limits Come From the Serializer, Not From JSON
Rather than memorising JsonUtility's list of limitations, one rule predicts them: if it isn't visible in the Inspector, it isn't in the JSON. Plus the most dangerous item, which the manual never mentions — polymorphism.