Multiplayer PlayMode Player Tags not exported/imported by Publisher Tools for a "Template" asset

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

還沒有人認領這個 Issue。

評估

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

研究方向

使用 Template 資產透過 AS Publisher 工具重現問題,然後檢查匯出的 .unitypackage 以及匯入的 Project Settings > Multiplayer > Playmode 設定。完成的標準是:來源專案中定義的 Player Tags 在將套件匯入新專案後仍然存在,並且已找出負責的匯出或匯入步驟。

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

描述

type:bug
Description

I have created a "Template" asset for the Asset Store using the AS Publisher tool and unpacked that .unitypackage into a new project to test it.
Side Note: Template assets are those that bundle the ProjectSettings folder and essentially replace the existing project's settings.

Under Project Settings => Multiplayer => Playmode the "Player Tags" list is empty after successfully importing the asset. The tags are defined in the source project.

Either the player tags are not exported by the AS publisher tool or they are not imported into the new project from a .unitypackage file.

Unfortunately, there is also no way to change these tags via editor script, at least not without resorting to reflection.

Environment
  • OS: Win 11
  • Unity Version: 6000.0.0b12
  • Netcode Version: 1.8.1, MPPM 1.0.0 (no preview)
  • AS Publish tools: 11.4.0
主要語言
C#
星號
2.3k
分支
461
平均合併
3 天 16 小時
30 天內合併 PR
20

貢獻指南

開啟貢獻指南

從這裡開始

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

Unity-Technologies/com.unity.netcode.gameobjects 的其他 Issue

查看 Unity-Technologies/com.unity.netcode.gameobjects 的全部 Issue

相似的 Issue

更多 C# Issue

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

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