Skip to content

fix: session cleanup improvements and DevUI hideUI property#149

Open
myers wants to merge 4 commits intometa-quest:mainfrom
myers:fix/session-cleanup-and-hideui
Open

fix: session cleanup improvements and DevUI hideUI property#149
myers wants to merge 4 commits intometa-quest:mainfrom
myers:fix/session-cleanup-and-hideui

Conversation

@myers
Copy link
Copy Markdown

@myers myers commented Dec 8, 2025

This PR adds improvements to support automated testing of XR scenes.

Summary

  • Make navigator.userAgent configurable to allow proper cleanup when XRDevice is disposed
  • Add ended flag to XRSession to stop the frame loop on session end
  • Handle WebGL context lost events to prevent errors when canvas is destroyed during active XR session
  • Add hideUI property to DevUI (hides UI overlay and disables input sync)

@meta-cla meta-cla Bot added the cla signed label Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant