| Parameter | Description |
|---|---|
| directory | The path to a build report directory. If the path is invalid, an error will be thrown during the build process. |
Adds a build report directory to BuildPlayerOptions.previousBuildReportDirectories for this 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, the path is only added once.
If the path passed into this method is not a valid build report directory, at build time an error will be thrown.
For more information on locating the build report directory for a build, refer to BuildHistory.