Jump to content

dbhvk

Members
  • Content Count

    7
  • Joined

  • Last visited

About dbhvk

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. That was it, rock and roll! For some reason the error reports where super obscure on my project, but at the end of the day the issues were the same.
  2. A gltf file would reference a texture like: Texture.png But that name doesn't contain the "file:" prefix, how does babylon look inside the FilesToLoad in the first place? Where is the "file:" added? Looking at: https://github.com/BabylonJS/Babylon.js/blob/1d2dea433c7ea5db14fefa1ea9acceb756a3db10/src/Tools/babylon.tools.ts#L857-L861
  3. You are right, that generates the expected errors on codepen! There's still my inicial issue that I can't replicate elsewhere, so I'll beat my head against the wall a bit during the weekend a report back if I can reproduce it Cheers
  4. Yep, the thing is that's not the error I get on codepen. If you run the code on the playground, the error will inform that images cannot be found, that's fine. For codepen and my codebase I get two different errors for the same babylon version. So just to clarify: BJS - [21:11:46]: Unable to load from file:simon_scene.gltf: loadAssets of unknown 👆that's the codepen error and it's not the expected one
  5. Hmm, works in the playground, but ported it to codepen so I can initialize stuff myself and get a different error (but still an error), can you check please? https://codepen.io/belohlavek/pen/ZqOWWW The error should be: babylon.js:1 Uncaught (in promise) Error: #/images/1/uri: Failed to load 'AnimatedCube_MetallicRoughness.png': 404 I'm fine with that one (that's what I get on the Playground btw), means that I need to add more files to the FilesToLoad list.
  6. Oh it loads just fine in the sandbox + it's a model from Khronos' own example repo
  7. I'm trying to load the following GLTF (https://github.com/BabylonJS/Babylon.js/blob/master/src/Tools/babylon.filesInput.ts#L161) in a sandbox-like manner but without using the drop monitor or an standard file input. I do have the file instance for each file, and when I manually set the lowercased-name of the file + the file instance on the FilesToLoad object, the GLTF will fail to load with the following error: n {cameras: Array(0), lights: Array(0), meshes: Array(2), skeletons: Array(0), particleSystems: Array(0), …} "Unable to load from blob:http://localhost:3000/2a140a19-0e8d-47a6-
×
×
  • Create New...