Skip to content

Commit

Permalink
Disable non-functional XR demos in web exports (#1130)
Browse files Browse the repository at this point in the history
These demos could work if they are redesigned to account for WebXR's
limitations when running on the web platform.
  • Loading branch information
Calinou authored Nov 8, 2024
1 parent c492e5f commit adf6d7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/dist/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ <h2>Unavailable demos</h2>
<li><code>mono/*</code>: Not available yet (requires Mono-enabled HTML5 build).</li>
<li><code>networking/*</code>: 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.</li>
<li><code>plugins/*</code>: Only effective within the editor.</li>
<li><code>xr/*</code>: Not functional on the web platform, as these demos are not designed for WebXR.</li>
</ul>
</body>
</html>
2 changes: 1 addition & 1 deletion .github/dist/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
}

.unsupported-demos li {
margin-bottom: 2rem;
margin-bottom: 1.5rem;
}
</style>
</head>
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/export_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit adf6d7e

Please sign in to comment.