Skip to content

FIX: Revert "CHANGE: Refactor class conditional guards (#2183)" (ISXB-1631) #2209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

jamesmcgill
Copy link
Collaborator

@jamesmcgill jamesmcgill commented Jul 31, 2025

This reverts commit f2e8ea5.

Description

ISXB-1631

There is a compilation error in QNX targets where XR is not supported.
It was introduced in a commit that refactored the conditional compilation guards in the XR Plugins.
This PR reverts that commit as a short-term fix until the issue can be resolved.

Testing status & QA

Tested locally on Mac.

Checklist

Before review:

  • Changelog entry added.
    • Explains the change in Changed, Fixed, Added sections.
    • For API change contains an example snippet and/or migration example.
    • JIRA ticket linked, example (case %%). If it is a private issue, just add the case ID without a link.
    • Jira port for the next release set as "Resolved".
  • Tests added/changed, if applicable.
    • Functional tests Area_CanDoX, Area_CanDoX_EvenIfYIsTheCase, Area_WhenIDoX_AndYHappens_ThisIsTheResult.
    • Performance tests.
    • Integration tests.
  • Docs for new/changed API's.
    • Xmldoc cross references are set correctly.
    • Added explanation how the API works.
    • Usage code examples added.
    • The manual is updated, if needed.

During merge:

  • Commit message for squash-merge is prefixed with one of the list:
    • NEW: ___.
    • FIX: ___.
    • DOCS: ___.
    • CHANGE: ___.
    • RELEASE: 1.1.0-preview.3.

After merge:

  • Create forward/backward port if needed. If you are blocked from creating a forward port now please add a task to ISX-1444.

@codecov-github-com
Copy link

codecov-github-com bot commented Jul 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

@@             Coverage Diff             @@
##           develop    #2209      +/-   ##
===========================================
- Coverage    68.11%   68.10%   -0.01%     
===========================================
  Files          367      367              
  Lines        53603    53602       -1     
===========================================
- Hits         36512    36506       -6     
- Misses       17091    17096       +5     
Flag Coverage Δ
linux_2021.3_pkg 5.41% <ø> (?)
linux_2021.3_project 70.35% <ø> (-0.07%) ⬇️
linux_2022.3_pkg 5.19% <ø> (?)
linux_2022.3_project 65.20% <ø> (-0.08%) ⬇️
linux_6000.0_pkg 5.19% <ø> (?)
linux_6000.0_project 68.00% <ø> (+2.64%) ⬆️
linux_6000.1_pkg 5.19% <ø> (?)
linux_6000.1_project 68.01% <ø> (+2.64%) ⬆️
linux_6000.2_pkg 5.19% <ø> (?)
linux_6000.2_project 68.00% <ø> (?)
linux_trunk_pkg 5.19% <ø> (?)
linux_trunk_project 68.01% <ø> (+2.65%) ⬆️
mac_2021.3_pkg 5.40% <ø> (ø)
mac_2021.3_project 70.36% <ø> (ø)
mac_2022.3_pkg 5.18% <ø> (ø)
mac_2022.3_project 65.23% <ø> (ø)
mac_6000.0_pkg 5.19% <ø> (ø)
mac_6000.0_project 68.02% <ø> (ø)
mac_6000.1_pkg 5.19% <ø> (ø)
mac_6000.1_project 68.02% <ø> (ø)
mac_6000.2_pkg 5.19% <ø> (ø)
mac_6000.2_project 68.02% <ø> (-0.02%) ⬇️
mac_trunk_pkg 5.19% <ø> (ø)
mac_trunk_project 68.02% <ø> (ø)
win_2021.3_pkg 5.41% <ø> (ø)
win_2021.3_project 70.44% <ø> (ø)
win_2022.3_pkg 5.18% <ø> (ø)
win_2022.3_project 65.30% <ø> (ø)
win_6000.0_pkg 5.19% <ø> (ø)
win_6000.0_project 68.10% <ø> (+<0.01%) ⬆️
win_6000.1_pkg 5.19% <ø> (ø)
win_6000.1_project 68.10% <ø> (ø)
win_6000.2_pkg 5.19% <ø> (ø)
win_6000.2_project 68.09% <ø> (ø)
win_trunk_pkg 5.19% <ø> (ø)
win_trunk_project 68.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...tsystem/InputSystem/Plugins/XR/Devices/GoogleVR.cs 0.00% <ø> (ø)
...putsystem/InputSystem/Plugins/XR/Devices/Oculus.cs 0.00% <ø> (ø)
...putsystem/InputSystem/Plugins/XR/Devices/OpenVR.cs 0.00% <ø> (ø)
...system/InputSystem/Plugins/XR/Devices/WindowsMR.cs 0.00% <ø> (ø)
...utsystem/InputSystem/Plugins/XR/GenericXRDevice.cs 87.87% <ø> (ø)
...m/InputSystem/Plugins/XR/Haptics/BufferedRumble.cs 0.00% <ø> (ø)
...Plugins/XR/Haptics/GetCurrentHapticStateCommand.cs 0.00% <ø> (ø)
...Plugins/XR/Haptics/GetHapticCapabilitiesCommand.cs 0.00% <ø> (ø)
...m/Plugins/XR/Haptics/SendBufferedHapticsCommand.cs 0.00% <ø> (ø)
...tem/Plugins/XR/Haptics/SendHapticImpulseCommand.cs 0.00% <ø> (ø)
... and 2 more

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jamesmcgill
Copy link
Collaborator Author

No longer needed

@jamesmcgill jamesmcgill closed this Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant