简体   繁体   中英

The same field name is serialized multiple times in the class or its parent class

I am getting this error whenever making a build for the Windows platform.

The same field name is serialized multiple times in the class or its parent class. This is not supported: Base(MonoBehaviour) speed
UnityEditor.HostView:OnGUI()

The problem is that it is not showing which script has a problem? The error is not showing in the editor but it showing whenever I try to build and it failing my build.

I am getting this error whenever making a build for the Windows platform.

The same field name is serialized multiple times in the class or its parent class. This is not supported: Base(MonoBehaviour) speed
UnityEditor.HostView:OnGUI()

The problem is that it is not showing which script has a problem? The error is not showing in the editor but it showing whenever I try to build and it failing my build.

Bumping the version did it for me

Project Settings -> Player -> Version

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM