Quantcast
Channel: Questions in topic: "build"
Viewing all articles
Browse latest Browse all 4084

how to get a callback when build was canceled?

$
0
0
I am using unity 2019.2 with Android. When the build succeeds, `OnPostprocessBuild(BuildReport report)` gets called, but not if it is canceled. Is it supposed to? Are there other means? public class PostProcessor : IPostprocessBuildWithReport { public int callbackOrder => 0; public void OnPostprocessBuild(BuildReport report) { //do some stuff if (report.summary.result != BuildResult.Succeeded) { return; } #region Platform-specific configurations switch (report.summary.platform) { //do some stuff } #endregion } }

Viewing all articles
Browse latest Browse all 4084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>