Forum Discussion

SoundGuy's avatar
SoundGuy
Start Partner
19 days ago

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 ()

2 Replies

  • Hello SoundGuy,

    sorry for the late reply. Based on your description, it sounds like the error appears when you try to run the project from GitHub is that correct?

    To help me investigate this with you, could you answer the following questions:

     

    Let me know what you find out, we can continue investigating this together!

    If this answers your question, please mark it as solved.

    ~ Nigel (XR Bootcamp)

     

  • The problem sounds quite related to this: 

    https://communityforums.atmeta.com/discussions/Questions_Discussions/issue-with-deploying-to-github-pages-blank-screen/1354346 

     

    Can you check if the solution suggested there is helping?

β†’ Find helpful resources to begin your development journey in Getting Started

β†’ Get the latest information about HorizonOS development in News & Announcements.

β†’ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

β†’ Get support or provide help in Questions & Discussions.

β†’ Show off your work in What I’m Building to get feedback and find playtesters.

β†’ Looking for documentation?  Developer Docs

β†’ Looking for account support?  Support Center

β†’ Looking for the previous forum?  Forum Archive

β†’ Looking to join the Start program? Apply here.

 

Recent Discussions