Closed Horothenic closed 3 years ago
I can edit correctly on Inspector in Debug mode tho.
I have the same one. I commented 27 line "property.serializedObject.Update();" in "SerializableCallbackDrawer", now it seems to work properly.
Are you getting any errors in console?
Are you getting any errors in console?
There are no errors after or before commenting 27 line.
I found the problem and fixed it. All the serialized fields above on SerializedCallback will not be applied. It caused by the Editor doesn't apply modified properties.
You can add the script "property.serializedObject.ApplyModifiedProperties();" on the first line of OnGUI in SerializableCallbackDrawer.
I have the following elements elements in my inspector but I cant edit them, I had to remove the serialized callback, assign the things and then add it because I cant edit them anymore.