Textures are not show when build & run
I am using a Qaud to combine parts of images on a cube, while I can see images when I run in the inspector, I am seeing white square after build & run. Attached captures from inspector and code fragment: quad.GetComponent().material.mainTexture = newCard.cardTexture; //Has the texture. quad.GetComponent().material.shader = shader; quad.GetComponent().material.SetInt("_ZWrite", -1);
[1]: /storage/temp/75650-cmphonetarotunitysampleinspector.png
Your answer
![](https://koobas.hobune.stream/wayback/20220612090350im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
problem with movie texture after build osx and win 1 Answer
Global textures works in Editor but not in Build (URP, Shader Graph) 1 Answer
Why my uv map textures changes after build Unity (platform PC) ? 1 Answer
Why are my textures misaligned in the standalone build? 1 Answer
Blocky (pixelated) textures on build only (not in editor) 0 Answers