My guess: Since the function is "Resources.Load" i doubt that you have to type in "Resources/oil_splash.jpg" since it is already looking in resources folder. Also, image types (.jpg, .gif, .jpeg) are to be ignored. Try
Resources.Load("oil_splash");
Ignore this answer if you have Resources folder inside your Resources folder :)
↧