Problems with loading textures

Hi, I want to edit this module:

And I have problem with loading textures. In original they say to use:
mesh.resolveTextures(path => textureLoader.load(/${path}.png))
But it sometimes loads textures, and sometimes not. Why?

I’m not familiar with this library, so my advice is rather general:

  • look at error messages in the console, they might provide useful information
  • try to make a minimal example that always replicates the problem, then share this example, so that you (and other people) can debug it
  • ask the library developer for some advice, or file an issue in the library repository at GitHub
  • and as always: does it happen with other browsers, with other computers, after clearning cache…