Language

Fetching files from disk at runtime

Hi. I'm trying to add a "modding" feature to my strategy game by allowing players to use a jpg file as a map. To do this i put a sprite object in the center of the scene, and made a script that reads from a file in the user's desktop to the game. I am using Loadimage and a WWW with a relative filepath to get the file called "myMap.jpg", but keep getting a NullReference exception. After almost two days of research, I can't figure out why. Please enlighten me.