Using the build profiles with Unity Editor command line arguments is broken for me.
When using -build command in combination with -activeBuildProfile, the build pipeline will only ever build the project using the scenes stored in the override global scene list.
If the override global scene list bool is left unchecked it will still use the override global scene list.
If this list of scenes is empty it will fail to build with error: Cannot build untitled scene
So right now, I am forced to populate the override list of scenes if I want to use build profiles with command line arguments
Editor version: 6000.0.23f1 on Mac