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

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

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
1-2 天
新手友好度
57/100
Issue 類型
功能
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
csharp, unity
領域
game-dev, testing

研究方向

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.

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

描述

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.

主要語言
C#
星號
4
分支
0
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

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

TMHSDigital/Unity-Developer-Tools 的其他 Issue

查看 TMHSDigital/Unity-Developer-Tools 的全部 Issue

相似的 Issue

更多 C# Issue

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

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