Hello
I have problem to get image from path at runtime.
var pic : Texture2D; function Start() { var pic2 : WWW = new WWW ("file://C:/Test.png"); yield pic2; pic = pic2.texture; }
and give me this error
You are trying to load data from a www stream which had the following error when downloading. Couldn't open file /Test.png
But when I change the root to //D it is work fine
var pic : Texture2D; function Start() { var pic2 : WWW = new WWW ("file://D:/Test.png"); yield pic2; pic = pic2.texture; }
thx for help …