Error when I try to swap texture froma script.js #4303
-
Dears, When I use the code in the pase as it is there is no issue. Have you an idea? I like to have a clear html page and I don't want to put script explicit code inside it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I suppose there is something not clear to me on the js coding.. ` async function downloadPosterToBlob() { function esporta() { Why it is not working? I think that when I will fix it I will fix the other swap texture issue |
Beta Was this translation helpful? Give feedback.
Hard to say without seeing the page, but I would bet it's an async issue. Make sure if you are trying to read or change the GLB in any way that it has actually loaded first: put all that code inside of a
load
event listener.