-
Creator 版本:2.3.3
-
目标平台:
fb-instant-games
-
详细报错信息,包含调用堆栈:
Generating main.js from /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/static/build-templates/shares/main.js
[51320] Generating html from /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/static/build-templates/fb-instant-games/index.html
[51320] Generating main.js from /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/static/build-templates/fb-instant-games/main.js
[ copy-build-templates [======================================= ] 98% 0.6s ]Builder: do custom process [before-change-files]
[ custom-build-process [========================================] 99% 0.3s ]Builder: do custom process [build-finished]
[51320] Error: Build Failed: RangeError: Maximum call stack size exceeded
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:588
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:325:20
at check (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:4463:32)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:421
at next (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:4457:13)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:571
at check (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:4464:13)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:421
at next (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:4457:13)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:571
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/lib/builder/index.js:1:3834
at wrapper (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:272:20)
at next (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:4584:24)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:325:20
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/lib/builder/index.js:1:790
at processTicksAndRejections (internal/process/task_queues.js:86:5)
[ error [========================================] 100% 0.0s ]
[51320] Error: RangeError: Maximum call stack size exceeded
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:588
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:325:20
at check (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:4463:32)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:421
at next (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:4457:13)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:571
at check (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:4464:13)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:421
at next (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:4457:13)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:571
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/index.js:1:4649
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/lib/builder/index.js:1:5192
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:2959:19
at wrapper (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:272:20)
at iterateeCallback (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:417:21)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:325:20
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:2957:17
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/lib/builder/index.js:1:4239
at wrapper (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:272:20)
RangeError: Maximum call stack size exceeded
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:588
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:325:20
at check (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:4463:32)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:421
at next (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:4457:13)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:571
at check (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:4464:13)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:421
at next (/Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:4457:13)
at /Applications/CocosCreator/Creator/2.3.3/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/fb-instant-games/main.js:1:571 -
重现方式:
一个复杂的prefabs就会发生这样的问题 -
之前哪个版本是正常的 :
-
手机型号 :
-
手机浏览器 :
-
编辑器操作系统 :
-
编辑器之前是否有其它报错 :
-
出现概率:
只要有复杂的预制体就会发生 -
额外线索:
怀疑是压缩文件的时候触发的
如果官方有尝试方案,可以配合测试