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): keep stale file events out of the active document

yhhb7c1017d44e7
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1c2a6fb48..18fd41bcc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -37,6 +37,7 @@ published separately; it ships inside the editor.
### Fixed
+- **Returning from Prefab Mode keeps the current scene intact.** A delayed file-watcher read or discard prompt for an earlier document no longer reloads the scene now being edited, invalidates freshly reverted prefab instances, or overwrites a newer save's baseline.
- **Simplifying a mesh preserves painted features.** Vertex colours participate in simplification so a small painted feature is not treated like an otherwise identical, unpainted surface.
- **A streamed world finishes retiring before it is replaced.** Teardown drains pending cell work and releases its scene resources before another world takes over, for both 2D and 3D content.
- **Batched and instanced meshes keep their visibility and shadows.** Batches preserve each part's shadow participation, and placement bounds include rotation, scale, shear, usable LODs and declared vertex displacement when culling and fitting shadow maps.
diff --git a/desktop b/desktop
index c5dd3f710..055304409 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit c5dd3f7105c1a4b8330ac28fb25ba5a638f40948
+Subproject commit 0553044093da756df8c06b732ed9184b746bf5c3
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index 53f91c85b..49e1debd1 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -28,6 +28,10 @@ export const NOTES_FLOOR = 'v0.65.0';
* the reader recognises anyway.
*/
export const NOTED = {
+ 'fix(project): discard stale document reloads':
+ { note: 'Returning from Prefab Mode keeps the current scene intact.' },
+ 'fix(editor): keep stale file events out of the active document':
+ { note: 'Returning from Prefab Mode keeps the current scene intact.' },
'feat: bake material-aware static geometry proxies':
{ note: 'Static geometry can be baked into material-preserving proxies.' },
'fix: preserve painted features during mesh simplification':