You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我移植了spine 4.2到spine-wasm,场景中skeletonData没有报错,但是spine-preview.js里面报Error: Channel does not exist: scene:spine-preview,经调试 await panel.glPreview.init({ width: panel.$.canvas.clientWidth, height: panel.$.canvas.clientHeight }); 这行报错
Relevant error log output
[Window] init glPreview error!: Error: Channel does not exist: scene:spine-preview
at Object.sendToChannel (/Applications/Cocos/Creator/3.8.4/CocosCreator.app/Contents/Resources/app.asar/node_modules/@base/electron-base-ipc/dist/renderer.ccc:1:2198)
at sendToChannel (/Applications/Cocos/Creator/3.8.4/CocosCreator.app/Contents/Resources/app.asar/node_modules/@base/electron-base-ipc/dist/index.js:1:1194)
at GlPreview.init (/Applications/Cocos/Creator/3.8.4/CocosCreator.app/Contents/Resources/app.asar/builtin/scene/dist/preview-extends/webgl.ccc:1:1381)
at Object.update (/Users/jeffma/Workspace/cocos-engine/editor/inspector/assets/spine-preview.js:198:39)
at Object. (/Users/jeffma/Workspace/cocos-engine/editor/inspector/assets/spine-preview.js:396:28)
at HTMLElement.update (/Applications/Cocos/Creator/3.8.4/CocosCreator.app/Contents/Resources/app.asar/node_modules/@editor/creator-ui-kit/dist/renderer.ccc:2:1614316)
at /Users/jeffma/Workspace/cocos-engine/editor/inspector/contributions/asset.js:344:43
at Array.map ()
at Object.update (/Users/jeffma/Workspace/cocos-engine/editor/inspector/contributions/asset.js:343:50)
Cocos Creator version
3.8.4
System information
MacOS webgl
Issue description
我移植了spine 4.2到spine-wasm,场景中skeletonData没有报错,但是spine-preview.js里面报Error: Channel does not exist: scene:spine-preview,经调试 await panel.glPreview.init({ width: panel.$.canvas.clientWidth, height: panel.$.canvas.clientHeight }); 这行报错
Relevant error log output
[Window] init glPreview error!: Error: Channel does not exist: scene:spine-preview
at Object.sendToChannel (/Applications/Cocos/Creator/3.8.4/CocosCreator.app/Contents/Resources/app.asar/node_modules/@base/electron-base-ipc/dist/renderer.ccc:1:2198)
at sendToChannel (/Applications/Cocos/Creator/3.8.4/CocosCreator.app/Contents/Resources/app.asar/node_modules/@base/electron-base-ipc/dist/index.js:1:1194)
at GlPreview.init (/Applications/Cocos/Creator/3.8.4/CocosCreator.app/Contents/Resources/app.asar/builtin/scene/dist/preview-extends/webgl.ccc:1:1381)
at Object.update (/Users/jeffma/Workspace/cocos-engine/editor/inspector/assets/spine-preview.js:198:39)
at Object. (/Users/jeffma/Workspace/cocos-engine/editor/inspector/assets/spine-preview.js:396:28)
at HTMLElement.update (/Applications/Cocos/Creator/3.8.4/CocosCreator.app/Contents/Resources/app.asar/node_modules/@editor/creator-ui-kit/dist/renderer.ccc:2:1614316)
at /Users/jeffma/Workspace/cocos-engine/editor/inspector/contributions/asset.js:344:43
at Array.map ()
at Object.update (/Users/jeffma/Workspace/cocos-engine/editor/inspector/contributions/asset.js:343:50)
Steps to reproduce
这里是我编译出来的spine wasm
spine.zip
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: