Jump to content

Chrome for mac issue?


Recommended Posts



I have the following issue: 


I must change the texture of a mesh dynamically (by dragging) with different images. Using:

mesh.material.diffuseTexture = new BABYLON.Texture("colors/" + colorNameVariable + ".jpg", scene);

works fine on every desktop browser but Chrome for Mac, in chrome for Mac I get in the console:


...../colors/.jpg       404 (not found)     babylon.js:3

...../colors/.jpg       404 (not found)     .jpg:1


"colorNameVariable" not appear. 


What can I do for this kind of issues?


Thank you all.




Link to comment
Share on other sites

hit2501, on 20 Oct 2015 - 4:18 PM, said:


...../colors/.jpg       404 (not found)     babylon.js:3

...../colors/.jpg       404 (not found)     .jpg:1

Look at the name of the files it tries to download :


it should be color/something.jpg

this means your variable colorNameVariable is empty, or undefined or null

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.

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.


  • Recently Browsing   0 members

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