Jump to content

Bug? Scene ok on desktop browsers, not ok on mobile browsers, why please?


webdevprojects
 Share

Recommended Posts

Hey ! Good job with BabylonJS ! Great work. Thank you for all. Congratulations for the new version! I love the new camera.useAutoRotationBehavior = true; 

 

I coded an old javascript project with BabylonJS. This scene appeared on all browsers, all devices:

 

In our new website project, I coded this new javascript scene http://www.jrenault.consultingit.fr/ and the scene doesn’t appear on mobile devices 

 

The scene appears on desktop Microsoft Edge 41.16299.248.0 Microsoft EdgeHTML 16.16299

The scene appears on desktop chrome Version 64.0.3282.140 (Build officiel) (64 bits) .

The scene appears on desktop chrome Version 64.0.3282.140 (Build officiel) (64 bits) .

The scene doesn’t appear on mobile Android chrome 65.0.3325.109

The scene doesn’t appear on mobile Iphone chrome 65.0.3325.109

 

What a mess L Do you have an idea why the scene doesn’t appear on mobile browsers ?

Do I need to go back to old version of BabylonJS to make our 3D project work on all devices?

Thank you for your help. Our customer wants a scene which appears on all devices.

 

Regards.

webdevprojects

https://www.consultingit.fr/application-bitcoin-cross-platform-xamarin-sur-azure-en-rest

 

 

 

 

3dscene.PNG

Link to comment
Share on other sites

Hello!

You have an error in the console that looks suspicious :0

image.png

Babylonjs 3.2 should work perfectly on any mobile. Please let me know if fixing the issue above fixed the problem.

If not, please provide the console of your android or iphone to understand what error you've got

Link to comment
Share on other sites

Hello

Thank you very much for your help and your quick answer.

2 bugs corrected:

-Error in onSuccess callback, bad variable, corrected by deleting the variable.

-Missing manifest. We learned that the new version of BabylonJS uses offline cache by implementing a Manifest file. http://doc.babylonjs.com/how_to/caching_resources_in_indexeddb . Corrected by creating the manifest file.

 

Scene is rendering on all browsers now, desktops & mobiles android , iphone! Nice! We can advance to next phase of the project: scenes multiplications.

Thank you very much again.

Regards.

webdevprojects

https://www.consultingit.fr/application-bitcoin-cross-platform-xamarin-sur-azure-en-rest

 

 

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...