Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

382 build project with error--RangeError: Maximum call stack size exceeded #17926

Closed
tangkaikk opened this issue Nov 27, 2024 · 1 comment
Closed
Assignees
Labels
Bug Needs Triage Needs to be assigned by the team
Milestone

Comments

@tangkaikk
Copy link
Contributor

Cocos Creator version

3.x

System information

All

Issue description

When a project over 10g, building it, that will cause the error: "RangeError: Maximum call stack size exceeded"

refer to https://github.com/cocos/3d-tasks/issues/18647

Relevant error log output

2024-11-27 14:11:07 - error: RangeError: Maximum call stack size exceeded
at E:\CustomEngine\dianchu382\resources\app.asar\builtin\builder\dist\worker\builder\asset-handler\bundle\index.ccc:1:13362
at Array.map ()
at BundleManager.packImage (E:\CustomEngine\dianchu382\resources\app.asar\builtin\builder\dist\worker\builder\asset-handler\bundle\index.ccc:1:13353)
at BundleManager.buildAsset (E:\CustomEngine\dianchu382\resources\app.asar\builtin\builder\dist\worker\builder\asset-handler\bundle\index.ccc:1:4387)
at BuildTask.handle (E:\CustomEngine\dianchu382\resources\app.asar\builtin\builder\dist\worker\builder\tasks\build-task\asset.ccc:1:236)
at BuildTask.runBuildTask (E:\CustomEngine\dianchu382\resources\app.asar\builtin\builder\dist\worker\builder\index.ccc:1:11867)
at BuildTask.run (E:\CustomEngine\dianchu382\resources\app.asar\builtin\builder\dist\worker\builder\index.ccc:1:4187)
at build (E:\CustomEngine\dianchu382\resources\app.asar\builtin\builder\dist\worker\index.ccc:1:3733)
at Ipc. (E:\CustomEngine\dianchu382\resources\app.asar\builtin\builder\dist\worker\msg-util.ccc:1:202)
2024-11-27 14:11:08 - debug: ================================ build Task (web-mobile) Finished in (21 min 31 s)ms ================================

Steps to reproduce

none

Minimal reproduction project

none

@tangkaikk tangkaikk added Bug Needs Triage Needs to be assigned by the team labels Nov 27, 2024
@knoxHuang knoxHuang self-assigned this Nov 28, 2024
@knoxHuang knoxHuang added this to the 3.8.6 milestone Nov 28, 2024
@knoxHuang
Copy link
Contributor

Fixed to 3.8.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

2 participants