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 prefab painter order when saving scenes

yhh0d3f52a5563f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b53afe2ad..3223ea10d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,8 @@ published separately; it ships inside the editor.
### Fixed
+- **Saving Prefab instances preserves authored draw order.** Collapsed instances keep their root's position among ordinary entities instead of moving to the end of the scene. Unresolved instances also retain their original positions.
+
- **Camera previews keep a conservative CPU budget.** A slow main-frame timing sample no longer increases the preview refresh rate. Preview scheduling retains the cheaper baseline for the current App and still restores the editor view after capture.
- **The website preview comes from the exported game.** Release builds capture the Celestial Heights Web sample and publish its source commit and image checksum alongside the frame.
diff --git a/desktop b/desktop
index cb54187c8..514c5c59a 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit cb54187c8d7eb907139982500ef99a69a33fa33e
+Subproject commit 514c5c59a077e8e8f8b47dc2b5e01048f7a6ab42
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index 85b01d800..b2bfd8fc5 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 prefab painter order when saving scenes':
+ { note: 'Saving Prefab instances preserves authored draw order.' },
'chore(release): verify installed editor upgrades before publishing':
{ internal: 'Release acceptance installs the previous and candidate packages on clean CI hosts and verifies saved project continuity before publication; editor and runtime behavior are unchanged.' },
'fix(editor): keep camera preview refresh within its CPU budget':