简体   繁体   English

同一个字段名在类或其父类中多次序列化

[英]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.每当为 Windows 平台进行构建时,我都会收到此错误。

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.每当为Windows平台进行构建时,都会出现此错误。

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项目设置 -> 播放器 -> 版本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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