Page 1 of 1

Display fields with NonSerialized attribute in the Types panel

Posted: Thu Sep 15, 2022 8:31 am
by Joel
Status

Requested

Complexity

2/10

Description

Fields with the NonSerialized attribute in the Types panel aren't currently displayed. The request is to display these (assuming they're otherwise serialisable) so that the NonSerialized attribute can be overridden.

Helpful anecdote from Falondrian via the Unity thread:
Also show fields marked as non-serialized in the types window (maybe show a hint that they are not meant to be serialized). This is useful for 3rd party code, i.e. if they have serializable dictionaries that are converted to lists - ES3 doesnt invoke the hooks but it doesnt matter because it can directly serialize the dict.