Skip to content

构建抖音小游戏,勾选分离引擎+wasm分包后,报错 #19056

@dream93

Description

@dream93

Cocos Creator version

3.8.7

System information

all

Issue description

Creator 版本: 3.8.7

目标平台: 抖音小游戏

重现方式:引擎分离+wasm分包

首个报错:

之前哪个版本是正常的: 3.8.7开始支持该功能

重现概率: 必现

相关帖子:https://forum.cocos.org/t/topic/171467

Relevant error log output

No response

Steps to reproduce

打包抖音小游戏时,如果勾选了引擎分离(3.8.7新增功能),然后同时勾选了wasm分包,则会报错,因为引擎分离后,cocos-js/assets文件夹不会生成game.js文件。

经测试,微信小游戏是没问题的,处理方式是勾选引擎分离后,忽略了wasm分包选项

Minimal reproduction project

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugNeeds TriageNeeds to be assigned by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions