Skip to content

v4.7.2.123

Choose a tag to compare

@github-actions github-actions released this 18 Oct 13:24
· 275 commits to main since this release

2dog 4.7.2.123 simplifies browser setup, unifies new test hosts, and fixes engine lifecycle, rendering, and export issues. It targets Godot 4.7.2 and .NET 10.

Changes

  • Automatic browser bootstrapping. 2dog.godotsharp generates a public TwoDogWebBoot for game projects with unsafe code enabled. Web, WebXR, and Blazor hosts no longer need a scaffolded bootstrap file; existing custom implementations still take precedence.
  • Unified test templates. New xUnit, NUnit, and GdUnit hosts use Microsoft.Testing.Platform and include dotnet test --coverage support.
  • Compatible editor exports. Standard Godot editor exports automatically select stock C# bindings for stock export templates.
  • Engine lifecycle fixes. Fixed C# hot reload, engine restarts, repeated import/export operations, and macOS shutdown.
  • Safer texture sharing. Fixed Vulkan shared texture disposal and validated external texture formats and handle types.
  • Linux and browser fixes. Fixed Unix symlinked project paths, added X11 fallback for hidden-window hosts on Wayland, and fixed WebXR rendering and shutdown with newer Emscripten toolchains. Web exports preserve unrelated output files.
  • Templates and guides. Added a reusable in-scene FPS counter and reworked the documentation site, illustrations, and host guides.

Upgrading

Commit your project changes, then run from the Godot project directory:

dnx 2dog@4.7.2.123 update

Managed packages: 4.7.2.123. Native and tools packages: 4.7.2.28.

  • CLI change: 2dog convert has been removed. Use 2dog add.
  • Hosted editor change: editors inside a 2dog host offer resource-pack exports only. Use dotnet publish on the host project for playable applications.
  • Test template migration: when adding the new test hosts to a project with an existing global.json, merge in "test": { "runner": "Microsoft.Testing.Platform" } and run dotnet test from the project root. Existing VSTest projects also need compatible runner settings and packages before sharing this configuration; 2dog doctor reports incompatible configurations.
  • Browser setup: existing custom bootstraps remain supported. To use the generated helper, reference 2dog.godotsharp and enable AllowUnsafeBlocks in the game project.

Package updates do not automatically migrate existing host source files or test-runner configuration.

Full Changelog: v4.7.2.122...v4.7.2.123