簡體   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