# OnPostBuildPlayerScriptDLLs(BuildReport)

> Implement this interface to receive a callback just after the player scripts have been compiled.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Build](/engine/6000.0/script-reference/unityeditor/build.md)
* **Assembly:** UnityEditor

```csharp
void OnPostBuildPlayerScriptDLLs(BuildReport report)
```

### Parameters

**** (\[BuildReport]\(/engine/6000.0/script-reference/unityeditor/build/reporting/buildreport)): A report containing information about the build, such as its target platform and output path.

### Remarks

You can implement this if you need to read or patch managed Assemblies for players being built. To retrieve assembly locations, call [GetFiles](/engine/6000.0/script-reference/unityeditor/build/reporting/buildreport/getfiles.md) on the [BuildReport](/engine/6000.0/script-reference/unityeditor/build/reporting/buildreport.md) provided as the `report` parameter, [BuildFile.path](/engine/6000.0/script-reference/unityeditor/build/reporting/buildfile/path.md) property from the returned [BuildFile](/engine/6000.0/script-reference/unityeditor/build/reporting/buildfile.md). Note that implementing this callback will cause builds to run slower, as assemblies need to be copied to an intermediate location, and is not recommended for best performance.

Additional Resources: [BuildPlayerProcessor](/engine/6000.0/script-reference/unityeditor/build/buildplayerprocessor.md), [IFilterBuildAssemblies](/engine/6000.0/script-reference/unityeditor/build/ifilterbuildassemblies.md), [IUnityLinkerProcessor](/engine/6000.0/script-reference/unityeditor/build/iunitylinkerprocessor.md), [IPreprocessBuildWithReport](/engine/6000.0/script-reference/unityeditor/build/ipreprocessbuildwithreport.md)

### Examples

```csharp
using UnityEditor;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
using UnityEngine;

class MyCustomBuildProcessor : IPostBuildPlayerScriptDLLs
{
    public int callbackOrder { get { return 0; } }
    public void OnPostBuildPlayerScriptDLLs(BuildReport report)
    {
        Debug.Log("MyCustomBuildProcessor.OnPostBuildPlayerScriptDLLs for target " + report.summary.platform + " at path " + report.summary.outputPath);
    }
}
```
