The same field name is serialized multiple times in the class or its parent class. This is not supported: Base(MonoBehaviour) txtTitle UnityEditor.HostView:OnG...
Note that like all arrays returned by Unity, this returns a copy of materials array. If you want to change some materials in it, get the value, change an entry ...