Hi. I am creating a mini-map for a game. Everything works just fine in Editor. Using Unity Pro 4.2.1f4.
But when i build it (standalone x86) the map is blank.
I assigned the renderTexture in the inspector before. same goes when i try to create it by Javascript:
var renTex : RenderTexture;
function Start() {
renTex = new RenderTexture(256, 256, 16);
renTex.Create();
Debug.Log(renTex.isCreated());
camera.targetTexture = renTex;
}
it always returns false IN STANDALONE ONLY.
The thing is, I am using Windows 8, and all previous builds from Windows 7 work just fine with renderTextures. (this is not my first time doing maps.)
Did i do something wrong?? Pls help me…Below are some screenshots from my game…
Thank you.