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 摘要。