Unity-Technologies / Unity-Technologies/com.unity.netcode.gameobjects

"NetworkBehaviors require a NetworkObject" - remove this dialog box please

未關閉
#2,761 0 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

type:feedback
主要語言
C#
星號
2.3k
分支
461
平均合併
3 天 16 小時
30 天內合併 PR
20

描述

Feedback
image

I am aware and this prefab is part of another prefab that owns the network object. Moving this network behavior component up to the base is not required since the server and the client will spawn separate representations and has separate behaviors. But there is no way to disable this message. At least not in NGO version 1.6.0

Suggested Changes
This message is not that important if you know your prefab setup. Please remove it or make an option to show it (default is to not show).

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先找出顯示「NetworkBehaviors require a NetworkObject」對話方塊的編輯器程式碼,並在巢狀 prefab 上使用 NetworkBehaviour 重現它。確認如何偵測父 NetworkObject 的設定,然後讓所要求的抑制或選項行為可在 Unity 編輯器中驗證。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp, unity
領域
game-dev, networking
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。