gitlab CI 编译 web 桌面端 scene is missing

专案在此:
https://gitlab.com/aad61404/cocos_ci_test

图片

9-20-2022 18:16-error: Asset({asset(ac211bdf-c89f-4242-b1c2-097c3d8ca13f@f9941)}) required by Asset({asset(db://assets/test.scene)}) is missing,Please check whether the asset failed to import or was deleted by mistake.
9-20-2022 18:16-error: The asset {asset({asset(db://assets/mtl/red.mtl)})}, cc.Material is invalid, first confirm whether the asset is imported correctly.
9-20-2022 18:16-error: The asset {asset({asset(db://assets/mtl/yellow2.mtl)})}, cc.Material is invalid, first confirm whether the asset is imported correctly.
9-20-2022 18:16-error: The asset {asset({asset(db://assets/mtl/blue2.mtl)})}, cc.Material is invalid, first confirm whether the asset is imported correctly.
  • Creator 版本: 3.4.0

  • 目标平台: web 桌面端

  • 重现方式:
    放到 gitlab runner build
    run command

'C:\CocosDashboard_1.2.2\resources\.editors\Creator\3.4.0\CocosCreator.exe' --project . --build "configPath=buildConfig_web-desktop.json" 

使用gitlab runner 會跳出錯誤
但是使用cocos creator 建構發布時正常
请问大大们有头绪吗

顶一个看看
补充下发现问题好像是
cc.Material is invalid

顶一下 。

I have a similar issue.

1赞

大佬 你有碰到过构建一直卡在[Package] engine@1.0.7 enable不动的问题吗