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

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

Open
#2,846 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:bug
Dominant language
C#
Stars
2.3k
Forks
461
Avg merge
3d 16h
Merged PRs (30d)
20

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the AS Publisher tool using a Template asset, then inspect the exported .unitypackage and the imported Project Settings > Multiplayer > Playmode configuration. Done means Player Tags defined in the source project are present after importing the package into a new project, with the responsible export or import step identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.