I have a user interface object which has a set of object attributes (not class attributes) They show up in the inspector and are fully functional. They have been flagged for saving. But these attributes are not saved... They also do not appear in the patch file XML.
I use exactly the same code for a non-user interface object and the object attributes are successfully saved.