Hi all,
I’m really stuck with this. I want my game to load images dynamically. I need this because I have an XML where I describe the spaceships. A spaceship has also an image. So when I show the spaceships during the game I load the images dynamically.
So I made a class to load images and I can create a Sprite with the loaded image. Everything worked fine until I checked the app on Android, because on the device I can’t open file normally but I need to use the WWW class because the correct path is of type: jar:file://
The problem is that WWW is asynchronous so I can’t find a way to have my “ImageLoader” class to return the Sprite once the WWW has completed to load the image.
I don’t want to use the Resources folder, if I’m not wrong, that would be terrible for performances.
How Unity developers handle this issue? Please help me I’m 1 day still from crazyness 
Diego