How to reproduce:
1. Extract the attached project "OpenXRBuildBug.zip"
2. Delete the Library folder in the project folder
3. Open the terminal or PowerShell
4. Navigate to the project base directory
5. Invoke a CLI Build using: ". "C:\Program Files\Unity\Hub\Editor\2021.3.24f1\Editor\Unity.exe" -batchmode -nographics -executeMethod Build.BuildUWP -projectPath .\ -quit -logFile .\Build\build.log"
6. Wait for the Build to finish
7. Inspect the "Build\build.log"
Expected results: Build logs shows "WSA Processor: OnPreprocessBuildExt", "OnlyWSAEnabled Processor: OnPreprocessBuildExt", "WSA Processor: OnPostprocessBuildExt", "OnlyWSAEnabled Processor: OnPostprocessBuildExt"
Actual results: Build log shows "Standalone Processor: OnPreprocessBuildExt", "Standalone Processor: OnPostprocessBuildExt", "WSA Processor: OnPostprocessBuildExt"
Reproducible with: 2021.3.28f1, 2022.3.4f1, 2023.1.2f1, 2023.2.0a21
Reproducible on: Windows 10