three-usdz-loader icon indicating copy to clipboard operation
three-usdz-loader copied to clipboard

TextureLoader is not a constructor

Open IgnacioSanchezAlvarado opened this issue 5 months ago • 1 comments

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.

IgnacioSanchezAlvarado avatar Aug 26 '24 15:08 IgnacioSanchezAlvarado