Godot 4.6.2-stable
This release pins 2dog to Godot 4.6.2-stable, the latest stable release of the engine. All native libraries (libgodot), GodotSharp assemblies, and the Godot.NET.Sdk are updated to 4.6.2.
What's new
- Godot 4.6.2-stable — Updated the Godot submodule to the 4.6.2-stable tag, bringing all upstream fixes and improvements. Native platform libraries (Windows x64, Linux x64, macOS arm64) are rebuilt against this release.
Fixes
-
Template GodotSharp version mismatch — The
dotnet new 2dog --teststemplate previously hardcodedGodotSharp 4.6.0, causing an NU1605 package downgrade error when the Godot project usedGodot.NET.Sdk/4.6.2. The Godot SDK and GodotSharp versions are now parameterized via agodotVersiontemplate parameter, kept in sync with the engine. -
Template version defaults — Introduced a centralized
GodotVersionproperty inDirectory.Build.props(alongside the existingTwoDogVersion).NativesVersionis now derived fromGodotVersionautomatically. ASyncTemplateVersionsMSBuild target writes correct defaults intotemplate.jsonat pack time, so both local (dotnet new install templates/twodog/) and NuGet-based template installs always use the right versions. -
Restored template NuGet package — The
2dog.Templatespackage is once again built and published, with version substitution handled automatically duringdotnet pack. -
CI badge showing as failing — The CI workflow previously used
gh run cancelwhen native libraries were still building, which GitHub treated as a failed run (red badge). Replaced with acheck-nativesgate job that skips downstream jobs cleanly — the badge now correctly shows green when the pipeline is waiting for a native build.
Upgrade notes
Update your package references:
<PackageReference Include="2dog" Version="0.1.23-pre" />For existing projects created from the template, update GodotSharp and Godot.NET.Sdk to 4.6.2:
<!-- In your .Godot project -->
<Project Sdk="Godot.NET.Sdk/4.6.2">
<!-- In your .Tests project -->
<PackageReference Include="GodotSharp" Version="4.6.2" />Full Changelog: v0.1.19-pre...v0.1.23-pre