Meterian can process Unity packages, either builtins or unity standard packages, and open packages from OpenUpm, as long as they are declared using a
manifest.json file and a
packages-lock.json file, as per standards. If the agent does not find a lock file, it will use only the manifest file but the results will be partial, as transitive dependencies won't be correctly resolved.
The only requirement, assuming your license has the feature enabled, is to add to the client invocation the parameter
--scan-unity when running it. We also recommend excluding the nodejs scanner, unless it's explicitly required, using
An example of run against the TaskRunner project from Greener-Games:
$ meterian --scan-unity --scan-nodejs=falseMeterian Client v184.108.40.206, build 0000© 2017-2021 Meterian Ltd - All rights reservedSystem information:- running locally: yes- interactive mode: on- working on folder: /home/bbossola/projects/rocksolid/samples/tmp.unity/TaskRunner- autofix mode: offChecking folder...Folder /home/bbossola/projects/rocksolid/samples/tmp.unity/TaskRunner contains a viable project!Requesting build...Build allowedAccount: "Meterian Team Account"- Minimum scores:- security: 95- stability: 95- licensing: 95- Analysis scopes:- security: packaged components- stability: all components- licensing: all componentsProject information:- url: https://github.com/Greener-Games/TaskRunner- branch: master- commit: e846cf789653bdef95df848bf9f53e12cc0b0d13Unity scan - running MeterianUnityParser 1.0 locally...- unity: parsing lockfile...- unity: dependencies generated...- unity: collected local license declarations...Execution successful!Uploading dependencies information - 50 found...Done!Starting build...Current build status: initializedCurrent build status: in preparationCurrent build status: process advices at 2021-08-24T14:05:14.269Current build status: assessment created at 2021-08-24T14:05:26.765Final results:- security: 100 (minimum: 95)- stability: 100 (minimum: 95)- licensing: 100 (minimum: 95)Full report available at:https://qa.meterian.com/projects/?pid=114d80fb-4e18-474d-84d4-0c8c1ba96e10&branch=master&mode=eliBuild successful!