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

Offen
#54 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
57/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
csharp, unity
Bereich
game-dev, testing

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
C#
Sterne
4
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus TMHSDigital/Unity-Developer-Tools

Alle Issues in TMHSDigital/Unity-Developer-Tools

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.