* GLTFLoader: Return null when failing to load textures * GLTFLoader: Logging error when failing to load a texture.
@@ -2643,6 +2643,11 @@ class GLTFParser {
return texture;
+ } ).catch( function () {
+
+ console.error( 'THREE.GLTFLoader: Couldn\'t load texture', sourceURI );
+ return null;
} );
this.textureCache[ cacheKey ] = promise;