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

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

Đang mở
#2,846 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

type:bug
Ngôn ngữ chính
C#
Star
2.3k
Fork
461
Merge trung bình
3 ngày 16 giờ
Pull request đã merge (30 ngày)
20

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Tái hiện vấn đề bằng công cụ AS Publisher với một asset Template, sau đó kiểm tra .unitypackage đã xuất và cấu hình Project Settings > Multiplayer > Playmode đã nhập. Được xem là hoàn tất khi Player Tags được định nghĩa trong project nguồn xuất hiện sau khi import package vào một project mới và đã xác định được bước export hoặc import chịu trách nhiệm.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
csharp, unity
Lĩnh vực
tooling
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.