3.8.5安卓版本编译出现GPU进程异常退出 和 命令行参数无效

  • Creator 版本: 3.8.5

  • 目标平台:Android

  • 重现方式:使用命令行编译

  • 首个报错:
    D:\xxxx\Game\script>start /w /b C:/ProgramData/cocos/editors/Creator/3.8.5/CocosCreator.exe --project …/pubres/ModelBundle --build “platform=android;buildPath=D:/xxxx/Game/package;outputName=android_bundle_model” 1>./log/log_android_bundle_model.txt
    [6600:0213/163214.502:ERROR:command_buffer_proxy_impl.cc(325)] GPU state invalid after WaitForGetOffsetInRange.
    [6600:0213/163214.502:ERROR:command_buffer_proxy_impl.cc(325)] GPU state invalid after WaitForGetOffsetInRange.
    [6600:0213/163214.502:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=34
    构建参数 mainBundleCompressionType (merge_dep) 校验失败, compression type(undefined) is invalid for this platform!, 将会使用默认值 “merge_dep”

  • 之前哪个版本是正常的: 3.7.3

  • 编辑器操作系统: window10

  • 重现概率: 100%

3.7.3 没报 GPU state invalid after WaitForGetOffsetInRange.
换了AMD和NVD的显卡都是这个错误

麻烦大佬指正一下命令行参数有没有问题

还有个问题, 模拟器打开的情况下 命令行没有访问这个文件的权限
D:\xxxx\Game\script>start /w /b C:/ProgramData/cocos/editors/Creator/3.8.5/CocosCreator.exe --project …/pubres/ModelBundle --build “platform=android;buildPath=D:/xxxx/Game/package;md5Cache=true;outputName=android_bundle_model” 1>./log/log_android_bundle_model.txt
[Error: EPERM: operation not permitted, open ‘D:\xxxx\Game\pubres\ModelBundle\temp\logs\project.log’] {
errno: -4048,
code: ‘EPERM’,
syscall: ‘open’,
path: ‘D:\xxxx\Game\pubres\ModelBundle\temp\logs\project.log’
}

[12136:0213/163024.148:ERROR:cache_util_win.cc(20)] Unable to move the cache: 拒绝访问。 (0x5)
[12136:0213/163024.148:ERROR:cache_util_win.cc(20)] Unable to move the cache: 拒绝访问。 (0x5)
[12136:0213/163024.148:ERROR:cache_util_win.cc(20)] Unable to move the cache: 拒绝访问。 (0x5)

大哥,一模一样 怎么解决 所有版本都试了 全都不行

同时打开cocos就会报错,别打开就不会

可是我关闭cocos后,使用命令行打包仍有同样的报错