Skip to content

Conversation

matthargett
Copy link

These are the first few steps toward support for Android XR devices. This should not narrow support for prior Android operating systems and devices. This adds some v8 toolchain root hints to help make sure that the Android OS-supplied v8 library is used, and not a compile of JSC.

For context, there are multiple targets we care about for shipping our existing WebXR BabylonJS app in a native container (in priority order of important to our goals/customers):

  • Samsung Galaxy XR
  • XREAL One Pro+ (Android XR variant)
  • Pico 4 Ultra (Android 14)
  • HTC Vive XR Elite (Android ~12)
  • Meta Quest 3 (Android ~14)

The next step will be to create a WebXR API-compatible N-API native module that can integrate with BabylonNative ether by itself, or coordinated through NativeScript. This should allow for existing BabylonJS WebXR codepaths to remain unchanged and for the JS layer to stay ignorant of the kind of JS+3D runtime container it happens to be executing in.

@matthargett
Copy link
Author

The Win32_x64_D3D12 job appears to fail intermittently beyond my PR due to timeouts. Let me know if there's anything else I need to do. I'm upstreaming the NDK bump and the C++20 clang compatibility fix into JsRuntimeHost , PR in progress.

@CedricGuillemet
Copy link
Contributor

Hi @matthargett issue with D3D12 is fixed with #1550

@matthargett
Copy link
Author

Hi @matthargett issue with D3D12 is fixed with #1550

Excellent, thanks! Once the JsRuntimeHost PR passes and merges, I'll pop back up to this one and remove the local patch.

@matthargett
Copy link
Author

JSRuntimeHost PR is complete and awaiting review/merge. Once that's done, I'll update this PR to pull in that version and continue. BabylonJS/JsRuntimeHost#115

CedricGuillemet and others added 3 commits October 10, 2025 00:56
- Add `dist/` TS build folder in gitIgnore
- up to latest macOS for installation test iOS/macOS
- up Babylon.js to 8.28.2
- Increased Timeout to 60min because D3D12 check is way slower that it
was 2weeks ago
- Disabled 2 Visual Tests with D3D12
- Moved screenshot capture method from Engine to TestUtils
…JsRuntimeHost PR branch to test integration. macOS tests build and pass.
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