Search Issue Tracker

Active

Under Consideration for 1.15.X

Votes

0

Found in [Package]

1.15.0

Issue ID

OXRB-325

Regression

No

An incorrect platform for OpenXRFeatureBuildHooks is used when doing a Clean CLI Build

Package: OpenXR Plugin

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.