Skip to content

v4.7.2.125

Choose a tag to compare

@github-actions github-actions released this 19 Oct 22:05
· 194 commits to main since this release

2dog 4.7.2.125 improves editor shutdown, resource exports, and browser host setup, with clearer documentation and refreshed project templates. It targets Godot 4.7.2 and .NET 10.

Fixes and improvements

  • Safer editor shutdown. Updated Godot natives fix a rare crash when closing the editor with 3D gizmos, including gizmos used by C# editor plugins.
  • Reliable incremental exports. Desktop, Android, and web resource packs now rebuild when resources are removed or when newly added files have older timestamps, preventing stale pack contents.
  • Blazor multithreading setup. Newly generated Blazor servers send the cross-origin isolation headers required for SharedArrayBuffer, supporting experimental threaded clients in development and after publishing.
  • Correct WebXR configuration. New WebXR hosts stay single-threaded, because the threaded engine does not include WebXR support. --web-threads now applies to Web and Blazor hosts only. 2dog doctor detects incompatible WebXR threading settings and can repair them.
  • More dependable CLI operations. 2dog update recognizes package versions written as nested <Version> elements as well as attributes. Host scaffolding matches solution project entries exactly, avoiding confusion between similarly named projects. CLI subprocess timeouts and cancellation also cover waiting for captured output, preventing hangs when a child process keeps output pipes open.

Templates and documentation

  • Refreshed the documentation site, desktop host templates, Blazor styling, and sample scene with the slate and lime palette.
  • Corrected and consolidated guides for setup, publishing, configuration, CLI commands, and testing fixtures.
  • Added troubleshooting for Godot editors pinned to an older .NET runtime, including NixOS configurations where builds succeed but the editor cannot load System.Runtime.

Upgrading

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

dnx 2dog@4.7.2.125 update

Managed packages use version 4.7.2.125; native and tools packages use 4.7.2.30. These version numbers intentionally differ.

Existing host source files need the following adjustments where applicable:

  • Blazor: add the middleware shown in the multithreading headers guide if you use threaded clients. Package updates alone do not add it to an existing Program.cs. Cross-origin resources must allow loading through CORS or Cross-Origin-Resource-Policy.
  • WebXR: remove WasmEnableThreads from the WebXR host project, or run dnx 2dog@4.7.2.125 doctor --fix to apply the safe repair. Web and Blazor hosts can still use experimental multithreading.

Full Changelog: v4.7.2.124...v4.7.2.125