v0.6.2
WeChat MiniGame
- Add keyboard input support via
wx.onKeyDown/wx.onKeyUp(PC platform, base library 2.10.1+) - Add dedicated WeChat runtime entry point with streamlined initialization
- Improve file system error messages with actionable hints (e.g. missing
packOptions.includefor custom extensions) - Fix Emscripten wxgame build: use
-sENVIRONMENT=webwith minimal polyfill fordocument/windowglobals - Extract component defaults to a dedicated module for cleaner WeChat bundle
Asset Pipeline
- Asset collector now recursively gathers dependencies for always-exported folders
- Auto-create missing
asset-export.jsonconfig file - Browser preview now resolves UUID asset references
- Fix
asset:protocol blocked by CSPdefault-src, preventingfetch()calls to load prefabs during play mode on Windows
Bug Fixes
Editor
- Fix absolute path stripping in
resolveFilePath— leading/is no longer removed, fixing virtual-fs plugin failures when reading user scripts - Fix event listener leaks on HMR:
onCloseRequestedandcontextmenuhandlers are now properly cleaned up inEditor.dispose()andDockLayoutManager.dispose() - Fix text vertical clipping: clamp
startYto >= 0 when text block exceeds container height
SDK
- Fix browser compatibility: replace Node.js
Bufferwith standard base64 encoding - Simplify builder templates and consolidate runtime config generation
Internal
- Add playable emitter and atlas rewrite test coverage
- Add desktop build utility scripts (
copy-esbuild-wasm.js,kill-port.js) - Fix cross-package import in path tests causing CI type-check failure