# Exiting WebXR appears to crash Oculus browser

**URL:** <https://forum.babylonjs.com/t/exiting-webxr-appears-to-crash-oculus-browser/62480>\
**Category:** Bugs\
**Created:** [February 17, 2026, 11:21pm UTC](https://forum.babylonjs.com/t/exiting-webxr-appears-to-crash-oculus-browser/62480 "2026-02-17T23:21:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![syntheticmagus](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/syntheticmagus/32/395_2.png) [@syntheticmagus](https://forum.babylonjs.com/u/syntheticmagus)\
**Post date:** [February 17, 2026, 11:21pm UTC](https://forum.babylonjs.com/t/exiting-webxr-appears-to-crash-oculus-browser/62480/1 "2026-02-17T23:21:44Z")

</div>

I’m working on a WebXR experience where I’ll need to be able to go into and out of XR at will without leaving the page. However, calling `exitXRAsync()` seems to 100% crash the Web page with (as best I can tell so far) WebGL error messages possibly indicating a double-free. I have _ **not** _ yet tested this with other XR-capable browsers yet, so it’s possible it’s not Babylon’s problem, but FWIW here’s the min repro Playground.

[Test exit XR for crash | Babylon.js Playground](https://playground.babylonjs.com/#F41V6N#2374)

1. Navigate to this Playground in the Oculus browser
2. Enter XR
3. Wait 5 seconds
4. Observe crash

Repro rate: 100%

Additional notes: Feels good to be back. 🙂

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [February 18, 2026, 8:17am UTC](https://forum.babylonjs.com/t/exiting-webxr-appears-to-crash-oculus-browser/62480/2 "2026-02-18T08:17:37Z")

</div>

Hi @syntheticmagus So great to see you back here !!!

Let me summon @docEdub .

---

<div class="post-metadata">

**Author:** ![syntheticmagus](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/syntheticmagus/32/395_2.png) [@syntheticmagus](https://forum.babylonjs.com/u/syntheticmagus)\
**Post date:** [February 18, 2026, 6:54pm UTC](https://forum.babylonjs.com/t/exiting-webxr-appears-to-crash-oculus-browser/62480/3 "2026-02-18T18:54:06Z")

</div>

Funny enough, this stopped repro’ing for me; I just entered and exited bug-free in both Oculus browser and Wolvic. Not sure what was going on and will resurrect it if needs be, but for now this can go to bed.

Thanks for the quick response, Cedric, and great to see you too!!

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [February 19, 2026, 5:25pm UTC](https://forum.babylonjs.com/t/exiting-webxr-appears-to-crash-oculus-browser/62480/4 "2026-02-19T17:25:02Z")

</div>

WOOOT! Look who’s here!!!
