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(play): a realm says its page ran before it reads the engine

esengine1962d94cffa6
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d0c5667de..9a0eeb8f6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,8 @@ published separately; it ships inside the editor.
### Added
+- **A Play session that times out now says whether it ever started.** The realm announces itself when its page runs, before a line of the engine is read — previously its only signal was the host module's last statement, so a machine still parsing the SDK and a frame that never ran gave the same ninety seconds of silence, and both were reported as the editor being broken. The two now read differently, and only one of them is the machine's.
+
- **When a 分包 will not come down, the package says which one and why.** The generated entry logged the vendor's error object, which reaches a device's console as `[object Object]` — the one place you get to look. It is stringified now, and the headless launcher can be told to refuse a named 分包 (`--fail-subpackage`) so the path a bad network takes is something a build can be run against rather than waited for.
- **A package whose engine ships in a 分包 now starts.** Its generated entry called the host's loading indicator on its first line without checking the host has one — and that call is optional in the API — so on a host that does not implement it the game died before reaching `loadSubpackage`. Every indicator call in a generated entry is guarded now; a progress message must never be what takes a boot down.
diff --git a/desktop b/desktop
index 51898fd88..7db54063c 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit 51898fd88bd3ad80e6381f6cbe851b3e03692963
+Subproject commit 7db54063c680d63af262c1c86d571e0c448a3fd7
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index ef191de3c..e61a26752 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -700,6 +700,8 @@ export const NOTED = {
{ internal: "the editor's preview page names the same subpaths it always did" },
'fix(settings): the module page reads the same asset table the build installs from':
{ note: 'The Engine Modules page no longer calls a module unused that the build then carries.' },
+ 'fix(play): a realm says its page ran before it reads the engine':
+ { note: 'A Play session that times out now says whether it ever started.' },
'fix(export): a 分包 that did not load says which one and why':
{ note: 'When a 分包 will not come down, the package says which one and why.' },
'fix(export): a progress notice is never what takes a mini-game boot down':