Compile C# snippets against Unity 6.3 LTS, not only 6000.0

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

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
57/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, unity
Lĩnh vực
game-dev, testing

Hướng nghiên cứu

Start with .github/scripts/fetch_unity_refs.py and .github/scripts/compile_csharp.py, then check the CI workflow that runs the compile check and the local compile section in CONTRIBUTING. Update the reference version and version defines for Unity 6.3 LTS, and document the local version. Done means CI compiles every snippet and template against Unity 6.3 with CS0618 treated as an error.

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

Mô tả

ci priority: medium testing

Why it matters

The compile check builds snippets and templates against Unity 6000.0.84f1 reference assemblies (.github/scripts/fetch_unity_refs.py:8, .github/scripts/compile_csharp.py:31). The skills now recommend Unity 6.3 LTS as the baseline (skills/project-setup/SKILL.md), and Unity 6.0 LTS support ends in October 2026 (https://unity.com/releases/unity-6/support). APIs obsoleted between 6.0 and 6.3 would pass CI but warn or fail in the version we tell people to use.

Suggested approach

  • Fetch 6000.3.x refs and run compile_csharp.py against them, either replacing 6000.0 or as a matrix (6.0 and 6.3) while 6.0 is still in use.
  • Update the version defines in compile_csharp.py to match.
  • Document the version in CONTRIBUTING's local compile section.

Done when

CI compiles every snippet and template against Unity 6.3 LTS with CS0618 as an error.

Ngôn ngữ chính
C#
Star
4
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

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.

Issue khác của TMHSDigital/Unity-Developer-Tools

Tất cả issue của TMHSDigital/Unity-Developer-Tools

Issue tương tự

Thêm issue về C#

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.