繁体   English   中英

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

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

每当为 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()

问题是它没有显示哪个脚本有问题? 该错误没有显示在编辑器中,但是每当我尝试构建并且构建失败时都会显示。

每当为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()

问题是它没有显示哪个脚本有问题? 该错误未在编辑器中显示,但是每当我尝试构建时都会显示该错误,并且构建失败。

颠簸版本为我做到了

项目设置 -> 播放器 -> 版本

暂无
暂无

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

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