Meterian
Search…
Unity Packages
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 --scan-nodejs=false.
An example of run against the TaskRunner project from Greener-Games:
1
$ meterian --scan-unity --scan-nodejs=false
2
3
Meterian Client v1.2.17.4, build 0000
4
© 2017-2021 Meterian Ltd - All rights reserved
5
6
System information:
7
- running locally: yes
8
- interactive mode: on
9
- working on folder: /home/bbossola/projects/rocksolid/samples/tmp.unity/TaskRunner
10
- autofix mode: off
11
12
Checking folder...
13
Folder /home/bbossola/projects/rocksolid/samples/tmp.unity/TaskRunner contains a viable project!
14
15
Requesting build...
16
Build allowed
17
18
Account: "Meterian Team Account"
19
- Minimum scores:
20
- security: 95
21
- stability: 95
22
- licensing: 95
23
- Analysis scopes:
24
- security: packaged components
25
- stability: all components
26
- licensing: all components
27
28
Project information:
29
- url: https://github.com/Greener-Games/TaskRunner
30
- branch: master
31
- commit: e846cf789653bdef95df848bf9f53e12cc0b0d13
32
33
Unity scan - running MeterianUnityParser 1.0 locally...
34
- unity: parsing lockfile...
35
- unity: dependencies generated...
36
- unity: collected local license declarations...
37
Execution successful!
38
39
Uploading dependencies information - 50 found...
40
Done!
41
42
Starting build...
43
Current build status: initialized
44
Current build status: in preparation
45
Current build status: process advices at 2021-08-24T14:05:14.269
46
Current build status: assessment created at 2021-08-24T14:05:26.765
47
48
Final results:
49
- security: 100 (minimum: 95)
50
- stability: 100 (minimum: 95)
51
- licensing: 100 (minimum: 95)
52
53
Full report available at:
54
https://qa.meterian.com/projects/?pid=114d80fb-4e18-474d-84d4-0c8c1ba96e10&branch=master&mode=eli
55
56
Build successful!
57
Copied!
Last modified 4mo ago
Copy link