We need the Unity Build Pipeline (when the user press File->Build Settings->Build) replacement to be optional.
Right now we are enforcing the user to use our build pipeline even when making a build. But it doesn't suit everyone.
Added an option that allows leaving the Unity build pipeline to be untouchable.
If Replace Unity Build Pipeline option is enabled, you will get a custom build pipeline whether you making a build via the Unity menu or via your custom code. Otherwise - you will get a custom build pipeline only when you use BuildExecutor.Build deliberately (from your own code).
Purpose of this PR
We need the Unity Build Pipeline (when the user press File->Build Settings->Build) replacement to be optional. Right now we are enforcing the user to use our build pipeline even when making a build. But it doesn't suit everyone. Added an option that allows leaving the Unity build pipeline to be untouchable.
If Replace Unity Build Pipeline option is enabled, you will get a custom build pipeline whether you making a build via the Unity menu or via your custom code. Otherwise - you will get a custom build pipeline only when you use BuildExecutor.Build deliberately (from your own code).
Testing status
Manual testing status
Tested build pipeline in a sample project