Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix(editor): preserve skeletal dependencies across failed reloads

yhheefbfea862fc
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f38bbd911..068206db0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,8 @@ published separately; it ships inside the editor.
### Fixed
+- **Missing skeletal sources keep their recovery paths.** A failed viewport reload retains the last resolved skeleton, atlas and page dependencies so restoring an entire removed source directory triggers a fresh binding. Restored armatures draw their new image, and the viewport no longer remains on stale bindings that distort unrelated text.
+
- **Skeletal previews reload after directory changes.** Directory notifications match the skeleton's actual source and page paths, including normalized Windows paths and trailing separators. Moving a page directory away and restoring it now refreshes the open viewport; similarly named sibling directories do not trigger a reload.
- **Deleted sprite images clear and restored images reload.** The editor invalidates removed paths and reprojects missing or newly restored references, including directory-only watcher notifications. Browser texture loads use a new image-cache address after invalidation so restored pixels and dimensions replace the old image; ordinary loads and native image paths keep their existing addresses.
diff --git a/desktop b/desktop
index ecf14f782..55e1de1ec 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit ecf14f782230bd988ca576adce36a86303946a98
+Subproject commit 55e1de1ecf924849eb62290511d65cee97009a6d
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index 730447543..b50191afd 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -28,6 +28,8 @@ export const NOTES_FLOOR = 'v0.65.0';
* the reader recognises anyway.
*/
export const NOTED = {
+ 'fix(editor): preserve skeletal dependencies across failed reloads':
+ { note: 'Missing skeletal sources keep their recovery paths.' },
'fix(editor): refresh skeletal previews after directory changes':
{ note: 'Skeletal previews reload after directory changes.' },
'fix(asset): refresh deleted and restored sprite images':