I found the PostProcessBuildAttribute no longer working.
I tried to build the ARKit project. The ARKit.Framework is not added.
So I write a debug. And then I found the method is not called.
I think it’s related to the IPostprocessBuild and IPostprocessBuildWithReport refactoring.
public class Test {
[PostProcessBuild]
public static void OnPostprocessBuild(BuildTarget target, string path)
{
Debug.LogFormat("Method called with target {0} and path {1}", target, path);
}
}
and it works for me, I see the message in the Console window after a build. If it’s not working for you, I think you’ll need to submit a bug report.