Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3980

PIXI loader - resource already exists

$
0
0

Working on porting code from an old angular app to vue and am very new to PIXI.

Upgraded PIXI to latest version. Issue I am facing is, the page renders fine the first time but when I go away from the page and come back I see this error in console:

Q9yhfe.jpg

 

I am using the loader as so:

const PIXIloader = new PIXI.Loader()

I tried using PIXIloader.reset() before calling the PIXIloader.add() but doesnt seem to work and when I console.log the PIXIloader  I still see the resources in the loader.

If I manually reload the page it works fine.

 


Viewing all articles
Browse latest Browse all 3980


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>