Either:
a) the image is stored in the `Resources` folder in the editor, and built into a special file for use in the game, in which case you do not need the give the `Application.dataPath`, since Unity will know where to find the image if you just give it the path. Or
b) you are trying to load a texture from the file system, in which case you should use the `WWW` class.
↧