Unable to get IWSDK app running on gitapp pages
I've already opened an issue in Github a month ago.
How do i get support for this?
Clock is ticking for the Devpost competition...
App ignores base folder
https://github.com/facebook/immersive-web-sdk/issues/9
I've setup the vite config like so :
publicDir: "public",
base: "/iwsdktest1/",
});
both in build and in dev the JS loading the assets is trying to load from the root folder / and not the /iwsktest1/
manually loading the desk for example returns 404
The server is configured with a public base URL of /iwsdktest1/ - did you mean to visit /iwsdktest1/gltf/environmentDesk/environmentDesk.gltf instead?
this is the console.
[IWER Plugin] Configuration: Object
@iwer-injection-runtime:395 [IWER Plugin] 🎯 Activating IWER runtime...
@iwer-injection-runtime:395 [IWER Plugin] 📱 Using device configuration: metaQuestPro
@iwer-injection-runtime:395 [IWER Plugin] ✅ Runtime activated successfully!
index.ts:35
â–„â–„â–„â–„â–„â–„ â–„â–„ â–„â–„ â–„â–„â–„â–„ â–„â–„â–„â–„â–„ â–„â–„ â–„â–„â–„
▀▀██▀▀ ██ ██ ▄█▀▀▀▀█ ██▀▀▀██ ██ ██▀
██ ▀█▄ ██ ▄█▀ ██▄ ██ ██ ██▄██
██ ██ ██ ██ ▀████▄ ██ ██ █████
██ ███▀▀███ ▀██ ██ ██ ██ ██▄
▄▄██▄▄ ███ ███ █▄▄▄▄▄█▀ ██▄▄▄██ ██ ██▄
▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀▀ ▀▀▀▀▀ ▀▀ ▀▀
Immersive Web SDK v0.1.0
Three.js r177
EliCS v3.3.0
gltf/environmentDesk/environmentDesk.gltf:1 Failed to load resource: the server responded with a status of 404 ()
three.core.js:43923 Uncaught (in promise) HttpError: fetch for "https://localhost:42000/gltf/environmentDesk/environmentDesk.gltf" responded with 404:
at three.core.js:43923:12
gltf/plantSansevieria/plantSansevieria.gltf:1 Failed to load resource: the server responded with a status of 404 ()
gltf/robot/robot.gltf:1 Failed to load resource: the server responded with a status of 404 ()
textures/webxr.png:1 Failed to load resource: the server responded with a status of 404 ()
