Bug description
In game-ci/unity-builder@v3 exceptions thrown in buildsteps with the IPostprocessBuildWithReport interface would halt the build with an error. Now they are being ignored and the action is marked with a success message.
How to reproduce
internal sealed class PostBuild : IPostprocessBuildWithReport
{
public int callbackOrder => 9999;
public void OnPostprocessBuild(BuildReport report)
{
throw new Exception($"Build should fail here");
}
}
Expected behavior
Build should fail every time with a failure state.
Additional details
This was working in game-ci/unity-builder@v3, but after upgrading to game-ci/unity-builder@v4 it doesn't stop the build and it is marked as successful.
Workaround: Spamming EditorApplication.Exit(1); everywhere.
Bug description
In
game-ci/unity-builder@v3exceptions thrown in buildsteps with theIPostprocessBuildWithReportinterface would halt the build with an error. Now they are being ignored and the action is marked with a success message.How to reproduce
Expected behavior
Build should fail every time with a failure state.
Additional details
This was working in
game-ci/unity-builder@v3, but after upgrading togame-ci/unity-builder@v4it doesn't stop the build and it is marked as successful.Workaround: Spamming
EditorApplication.Exit(1);everywhere.