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

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

オープン
#2,846 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

type:bug
主要言語
C#
スター
2.3k
フォーク
461
平均マージ
3日 16時間
マージ済み PR(30日)
20

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Template アセットを使用して AS Publisher ツールで問題を再現し、その後、エクスポートされた .unitypackage と、インポートされた Project Settings > Multiplayer > Playmode の設定を確認します。ソースプロジェクトで定義された Player Tags がパッケージを新しいプロジェクトにインポートした後に存在し、原因となったエクスポートまたはインポートの手順が特定されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp, unity
領域
tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。