three-usdz-loader
three-usdz-loader copied to clipboard
TextureLoader is not a constructor
When implementing the viewer in a React application I get the next error:
TypeError: i.TextureLoader is not a constructor
Same code in vanilla html + js is working properly.
Using three v0.166.0 and three-usdz-loader v1.0.9.