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.

chore(desktop): bump — the content browser grid without a NaN height at a cold start (6e058403)

yhh30df2e78124c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 60a9790d7..6f43e63f9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -92,6 +92,7 @@ published separately; it ships inside the editor.
- **The ground has no dark patches on a Mac.** With the depth prepass on (quality high and medium), a material written as a fragment shader alone, the terrain among them, drew its colour from a vertex stage that did not declare its position invariant, while its depth came from one that did. Metal is free to compute the two a bit apart, and wherever they differed the colour failed the equal-depth test: sand, sea floor and grass showed dark triangles. Both stages now declare it, on WebGL2 and WebGPU.
- **No "uniform not found" warnings for a texture a program does not read.** A material sets each of its textures on every program it is drawn with, and the depth program of a terrain or a lit material reads few of them, so opening a scene filled the log with warnings that read like typos. A texture a program does not use is now skipped quietly.
- **A terrain with texture layers no longer keeps a second copy of them in memory.** Its layer arrays were made as content the graphics device keeps a CPU copy of, to restore after a GPU loss: 12 MiB on Terrain & Water, which took the copies past their 16 MiB budget and logged a warning. The terrain now says how to make them again: after a loss it reads and packs its layer files once more and puts them back behind the same textures.
+- **No "NaN is an invalid value for height" error when a project opens.** The content browser measured its grid before the editor had placed the panel, read the panel's padding as a number it was not, and gave the grid a height of NaN for that first frame.
- **A subpath of an official package resolves.** Importing `estella-plugin-…/something` from a project script no longer hangs the script build.
- **Background shader compilation, the warm-up and on-demand drawing reach a build whose quality level is Off.** A build dropped the whole `quality` block when the level was Off, though these three choices hold whatever the level: a project that switched `asyncShaderCompile`, `prewarmShaders` or `renderOnDemand` on read them in the editor and shipped a game that ignored them. The block now ships when any of them is on.
- **A terrain and a streamed world run on the Android and iOS templates.** The terrain's layer textures were refused on a device (it has no wasm heap to copy them through), and a chunked world's maker threw on every tick because QuickJS has no `AbortController`. The layers now go over as bytes, as every other texture does, and the world uses a handle of its own where the host has none.
diff --git a/desktop b/desktop
index d5a280991..6e0584037 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit d5a2809912c19ed45626996f7c499892a9701c48
+Subproject commit 6e0584037844fe01228972ccd3e8088afc17576a
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index 7906cee4a..eb73902f9 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -3434,4 +3434,6 @@ export const NOTED = {
{"note":"A terrain with texture layers no longer keeps a second copy of them in memory."},
"fix(build-tools): --debug builds a debug engine; --release, always on, overrode it":
{"internal":"the build command's debug switch; no engine change"},
+ "fix(editor): the content browser grid reads a scroller the dock has not attached yet as having no padding, not a NaN width":
+ {"note":"No \"NaN is an invalid value for height\" error when a project opens."},
};