webdevprojects Posted March 24, 2018 Share Posted March 24, 2018 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted March 26, 2018 Share Posted March 26, 2018 Hello! You have an error in the console that looks suspicious :0 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 Quote Link to comment Share on other sites More sharing options...
webdevprojects Posted March 28, 2018 Author Share Posted March 28, 2018 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted March 28, 2018 Share Posted March 28, 2018 really cool! Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 29, 2018 Share Posted March 29, 2018 If you do not want to use manifest and receive this error you can use: engine.enableOfflineSupport = false; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.