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(project): asset registry updates run one after another, so a prefab made a moment before is in list_assets

yhhec7e1f2b5b0a
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f8cb5e7d8..3d0e7117a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -80,6 +80,8 @@ published separately; it ships inside the editor.
- **A WeChat mini-game opens in WeChat DevTools.** A package stopped there at "BigInt64Array is not defined" while a phone ran it, as the engine and its side modules needed a global DevTools' game realm does not have. They no longer do.
+- **A prefab made over MCP is in `list_assets` at once.** A full scan of the assets and a file change's update ran side by side, and the one finishing last rebuilt the list from an index without the new prefab, which came back only with the next file event. They run one after another now.
+
- **An agent is told when a child it adds inside a prefab instance will not last.** A scene stores an instance as its root and its changes, so such a child lost its parent on saving, and an exported game dropped it, with no word. `apply_scene_ops` now warns, and says what to do instead.
- **A material's normal and metal-rough maps are read as data in the editor's Play.** A map named beside its `.esmaterial` missed its import settings there, as Play spells it by URL, so it was decoded as colour: mid-range roughness read far too smooth, and normal maps bent. Filter and wrap settings were lost the same way.
diff --git a/desktop b/desktop
index ee4766dd8..b7dbddc8c 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit ee4766dd8c6fadfea6c22c9e581983e061a5cfb8
+Subproject commit b7dbddc8c478ad4d93a71da42d23622d747b1d76
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index 5e4dc8373..c6701d8c2 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -4098,4 +4098,6 @@ export const NOTED = {
{"note": "An agent's `get_stats` waits out a long frame."},
"fix(project): a saved file reaches the device preview on Linux, where the watch followed the file's old inode":
{"note": "A saved scene reaches a device preview on Linux."},
+ "fix(project): asset registry updates run one after another, so a prefab made a moment before is in list_assets":
+ {"note": "A prefab made over MCP is in `list_assets` at once."},
};