assetcheck.exe --project="C:\unity\sample201904" --excludePaths="Assets" (...) - category: Video enabled: true includePaths: Assets/Included_0,Assets/Included_1 excludePaths: Assets/Ignored_0,Assets/Ignored_1 rules: - name: Video size limit description: Size of imported video should not over limit, default at 256MB includePaths: Assets/Video,Assets/VideoClip excludePaths: Assets/Video/CGExport enabled: true platform: All customParameters: sizeLimit: 256 5.指定服务器地点
对于购买了UPR企业版的用户,可以通过--serverIp参数来指定AssetCheck,AssetBundleCheck,CodeAnalyze的检测效果的上传目标服务器地点,此时利用协议默以为http,上传端口默以为8080,展示页面的端口默以为3005
assetcheck.exe --project="C:\unity\sample201904" --serverIp="123.123.123.123" ---- 2020-08-13 15:33:07,407 INFO: Current version is 1.11.0 2020-08-13 15:33:07,408 INFO: {***} 2020-08-13 15:33:07,408 WARNING: No project id provided, report will not be uploaded to upr server 2020-08-13 15:33:07,408 INFO: Upload server set to: http://123.123.123.123:8080 2020-08-13 15:33:07,408 INFO: Browse server set to: http://123.123.123.123:3005 也可以通过--uploadServer和--browseServer来直接指定服务器的完备URL(此时--serverIp会被忽略)
6.资源修复
Asset Checker中的部分规则支持直接对检测到缺陷的资源举行修复
在检测完成后,如果发现资源的缺陷是可以主动修复的,Asset Checker会天生fix_report.yaml文件,记载预备实行修复的资源和修复规则
之后,用户必要实行