| Parameter | Description |
|---|---|
| metadataPath | The path to a build metadata directory. If the path is invalid, an error will be thrown during the build process. |
Adds an additional build metadata path to the BuildPlayerOptions.previousBuildMetadataLocations array passed in as part of the build.
This is useful if you want the player build
to retrieve type stripping information from content-only builds you do prior to the player build.
If this method is called on the same path multiple times, it will only be called once.
If the path passed into this method is not a valid build metadata directory, at build time an error will be thrown.
For more information on locating the build metadata directory for a build, refer to BuildHistory.