# Unity packages

Meterian can process [Unity](https://unity.com/) packages, either builtins or unity [standard packages](https://docs.unity3d.com/Manual/PackagesList.html), and open packages from [OpenUpm](https://openupm.com/), 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. Please note that the nodejs scanner is automatically disabled on unit project, unless it's explicitly required, using  `--scan-nodejs` .

An example of run against the[ ](https://github.com/Greener-Games/TaskRunner)[TaskRunner ](https://github.com/Greener-Games/TaskRunner)project from Greener-Games:

```
$ meterian --scan-unity 

Meterian Client v1.2.17.4, build 0000
© 2017-2021 Meterian Ltd - All rights reserved

System information:
- running locally:   yes
- interactive mode:  on
- working on folder: /home/bbossola/projects/rocksolid/samples/tmp.unity/TaskRunner
- autofix mode:      off

Checking folder...
Folder /home/bbossola/projects/rocksolid/samples/tmp.unity/TaskRunner contains a viable project!

Requesting build...
Build allowed

Account: "Meterian Team Account"
- Minimum scores:  
  - security:  95
  - stability: 95
  - licensing: 95
- Analysis scopes:  
  - security:  packaged components
  - stability: all components
  - licensing: all components

Project information:
- url:    https://github.com/Greener-Games/TaskRunner
- branch: master
- commit: e846cf789653bdef95df848bf9f53e12cc0b0d13

Unity 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: initialized
Current build status: in preparation
Current build status: process advices at 2021-08-24T14:05:14.269
Current build status: assessment created at 2021-08-24T14:05:26.765

Final results: 
- security:	  100	(minimum: 95)
- stability:	  100	(minimum: 95)
- licensing:	  100	(minimum: 95)

Full report available at: 
https://www.meterian.com/projects/?pid=114d80fb-4e18-aaaa-84d4-0c8ccca96e10&branch=master&mode=eli

Build successful!

```

**Scanning Unity Plugins**

It is also possible to process unity plugins:

```
meterian --scan-unity --process-unity-plugins
```

Please note that when using this option you will need to use the [Dockerized Client](/the-client/the-meterian-client-dockerized.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.meterian.io/unity-packages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
