retry loading assets after a loading failure
src of asset to reload
loader
event.on( event.LOADER_ERROR, (res) => { // custom function showErrorNotification({ text: `Error during loading content: ${res.name}`, done: loader.reload(res.src); }) } ); Copy
event.on( event.LOADER_ERROR, (res) => { // custom function showErrorNotification({ text: `Error during loading content: ${res.name}`, done: loader.reload(res.src); }) } );
retry loading assets after a loading failure