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.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix: WeChat manifest resolution and spine atlas inclusion
esengine3245cbd84ca8
diff --git a/editor/src/asset/AssetTypes.ts b/editor/src/asset/AssetTypes.tsindex 3a097eb90..8b6a63924 100644--- a/editor/src/asset/AssetTypes.ts+++ b/editor/src/asset/AssetTypes.ts@@ -54,6 +54,7 @@ export function toAddressableType(editorType: string): AddressableAssetType | nucase 'bitmap-font':return 'bitmap-font';case 'spine-atlas':+ return 'binary';case 'shader':return null;default:diff --git a/editor/src/builder/templates.ts b/editor/src/builder/templates.tsindex f8d16df48..d9310a8ba 100644--- a/editor/src/builder/templates.ts+++ b/editor/src/builder/templates.ts@@ -234,15 +234,16 @@ ${physicsInit}});});var assetIndex = {};+ var pathIndex = {};for (var gn in manifest.groups) {var g = manifest.groups[gn];for (var uuid in g.assets) {assetIndex[uuid] = g.assets[uuid];+ pathIndex[g.assets[uuid].path] = g.assets[uuid];}}function resolvePath(ref) {- var entry = assetIndex[ref];- if (!entry) console.warn('[ESEngine] Asset not found in manifest:', ref);+ var entry = assetIndex[ref] || pathIndex[ref];return entry ? entry.path : ref;}