From 538596e0cd029314469a1d29ae5d2f92d18ebdfe Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 7 Nov 2024 15:23:05 +0100 Subject: [PATCH] Disable non-functional XR demos in web exports These demos could work if they are redesigned to account for WebXR's limitations when running on the web platform. --- .github/dist/footer.html | 1 + .github/dist/header.html | 2 +- .github/workflows/export_web.yml | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/dist/footer.html b/.github/dist/footer.html index e525f3985e..7f955d9904 100644 --- a/.github/dist/footer.html +++ b/.github/dist/footer.html @@ -32,6 +32,7 @@

Unavailable demos

  • mono/*: Not available yet (requires Mono-enabled HTML5 build).
  • networking/*: Doesn't make sense to be hosted on a static host, as the server must be hosted on the same origin due to the browser's same-origin policy.
  • plugins/*: Only effective within the editor.
  • +
  • xr/*: Not functional on the web platform, as these demos are not designed for WebXR.
  • diff --git a/.github/dist/header.html b/.github/dist/header.html index 9e4573e532..ff1c18d0cb 100644 --- a/.github/dist/header.html +++ b/.github/dist/header.html @@ -98,7 +98,7 @@ } .unsupported-demos li { - margin-bottom: 2rem; + margin-bottom: 1.5rem; } diff --git a/.github/workflows/export_web.yml b/.github/workflows/export_web.yml index c0a823644f..9b08c8272e 100644 --- a/.github/workflows/export_web.yml +++ b/.github/workflows/export_web.yml @@ -59,7 +59,8 @@ jobs: mobile/sensors/ \ mono/ \ networking/ \ - plugins/ + plugins/ \ + xr/ for panorama in 3d/material_testers/backgrounds/*.hdr; do # Decrease the resolution to get below the 100 MB PCK size limit.