Jump to content

BABYLON.SceneLoader.ImportMesh not working on mobile devices


Hudo1979
 Share

Recommended Posts

BABYLON.SceneLoader.ImportMesh not working on mobile devices with no manifest file. babylon version 2.4

 

from row 3492, after first load manifest with timestamp failed, it initialize another attempt to load manifest without timestamp, but this call will never trigger the error event, thus noManifestFile is never called.

 

TEsted on iOS simulator and real iOS device, not working. If I stopped attempt to load the manifest file and call noManifestFile directly, mesh is loaded correctly.

 

 

Link to comment
Share on other sites

  • 2 weeks later...

@Hudo1979

Just add a .manifest file for each mesh you're importing and there shouldn't be any issues :)
 

https://doc.babylonjs.com/tutorials/Caching_Resources_in_IndexedDB

Note that when making changes to a mesh, the version stated inside the mesh's .manifest needs to be updated to a higher value. e.g 0.01 --> 0.02 in order to reload the mesh in a browser where it has been cached.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...