-
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’
}