We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Player load hangs – Cannot read property 'uri' of undefined

Home Forums General Questions Player load hangs – Cannot read property 'uri' of undefined

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2955
    kimholder
    Customer

    Something is causing the app to be unable to finish loading. It had missing material files but i had it working again.

    The console error reads ‘Uncaught TypeError: Cannot read property ‘uri’ of undefined’ and then lists several things the parser can’t do which are all related to that one error.

    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:bb4284d18c/applications/STEMP-flythrough/STEMP-flythrough.html

    #2956

    The reason of this is probably CDN cache. It takes approx. 1 hour for the uploaded content to propagate through. If there is an emergency, simply rename your app folder and do upload again.

    Chief 3D Verger | LinkedIn | Twitter

    #2957
    kimholder
    Customer

    But it’s happening locally too.

    #2958
    kimholder
    Customer

    It has something to do with the materials, as when i delete them it goes away. But i still can’t figure out what. I think i’ll have to redo those materials from scratch.

    #2973

    Feel free to attach your files if the problem persists.

    Chief 3D Verger | LinkedIn | Twitter

    #3008
    kimholder
    Customer

    Thanks, Yuri. I did manage to find it eventually. It was a cubemap file that had been assigned wrong but was sort of working. I deleted that file because it had been replaced, and it took me a while to realize there was a spot where it hadn’t been updated. The player was looking for it and it wasn’t there. A lesson in being methodical about checking node links and references.

    #3016

    Glad you worked it out. :good: Checking the browser console can be also helpful for finding missing files – just hit F12 and look for 404 errors there.

    Chief 3D Verger | LinkedIn | Twitter

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.