Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DanMillerDev/9f0a40e96a4598168e12ab7411787b74 to your computer and use it in GitHub Desktop.
Save DanMillerDev/9f0a40e96a4598168e12ab7411787b74 to your computer and use it in GitHub Desktop.
Collection of gist shared in Unity GDC 2025 Talk Building cross-platform mixed reality

Collection of gist shared in Unity GDC 2025 Talk Building cross-platform mixed reality

Shell script for building a Meta Quest, AndroidXR and visionOS build in Unity via CLI batchmode
build_multiplatform_xr.sh

A script to show a unique logo per platform using the preprocessor directives and AR Session Descriptor
LogoManagerPPD.cs
LogoManager.cs

A script for managing permissions across Apple Vision Pro, Meta Quest and Android XR. It references world space UI element to let the user know about missing or denied permissions.
XRPermissions.cs

Anchor management for saving persistent anchors through OpenXR and AR Foundation API's
AnchorPlacementManager.cs
AnchorRecallManager.cs
AnchorSaveFile.cs

A utility script for changing shader type on materials at runtime, in this case using a custom occlusion material on Meta Quest and AndroidXR
ShaderTypeManager.cs

A script to set an objects position and rotation to a specific XR Joint based on the ID, handles usage for game object and physics rigidbodies
HandJointFollow.cs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment