Skip to content

Conversation

@from2001
Copy link
Collaborator

This pull request introduces several improvements and refactors across the XR rig setup and passthrough management codebase, as well as updates to package dependencies. The main changes include exposing passthrough controls in StylyXrRig, refactoring access levels for passthrough methods, updating Unity package dependencies, and improving SDK setup menu organization.

Passthrough Management Refactor:

  • Exposed passthrough controls in StylyXrRig by adding a public property and methods that delegate to PassthroughManager, allowing external scripts to switch between VR and MR modes. Initialization of PassthroughManager is now handled in Awake. [1] [2]
  • Changed the access level of PassthroughManager's PassthroughMode property and SwitchToVR/SwitchToMR methods from public to internal for better encapsulation. [1] [2]

SDK Setup Menu Improvements:

  • Updated all [MenuItem] attributes in SetupSdkMenu.cs to use the STYLY menu root instead of File, improving discoverability and consistency in the Unity editor. [1] [2]

Package Dependency Updates:

  • Added com.unity.toolchain.win-x86_64-linux-x86_64 (version 2.0.10) to both manifest.json and packages-lock.json, ensuring Windows toolchain support for cross-platform builds. [1] [2]
  • Set the OpenXR package identifier to a specific version (com.unity.xr.openxr@1.14.3) for PC VR development setup, improving reliability of SDK installation.

These changes collectively enhance the modularity, maintainability, and usability of the XR rig setup and passthrough management system.

@from2001 from2001 merged commit f3ee6ab into main Sep 27, 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.

2 participants