Resources.Load Issue, does not show image sometimes.
Hi,
I am facing an issue with Resources.Load. I am using this to load images from Resources folder at runtime and assigning them to a UI image control. This image control is a prefab that I instantiate at runtime.
There are more than one image that are loaded from it. Logic is - I save path of these images in xml files and when user wants to open saved images, I take image path from all xml files ( one for each image) and load them using Resources.Load. But sometimes few of the images are blank and others are showing. User can also delete this images ( this deletes xml file corresponding to that image )
This issue only comes up when user has left application in the background and after sometime open that app again.
I can not understand reason behind it. May be this could be a problem of caching. I have used same logic with Resources.LoadAll where I load all images from a folder. It does not happen there.
Has anyone faced this isse, I tried to google it but could not find anything.
Thanks.
Your answer

Follow this Question
Related Questions
Resources.Load not working in .exe !? 2 Answers
Resources.Load doesn't work 1 Answer
What is the best way to load Sprites dynamically? 0 Answers
Why does Resources.Load keep returning null? 1 Answer
Access to a variable in namespace 0 Answers