- Home /
Why sometimes textures render black (Unity 2018.4)?
Recently we upgraded to Unity 2018.4.1 and encounter following problem: sometimes one draw call renders completely black (but rendering mesh seems to be ok). It happens with UI Textures (we're using NGUI) but sometimes with plain Sprite Renderers as well.
Interesting, but the problem appears not only on Android device, but also in Editor. And more interesting that if we turn off problematic gameobject in hierarchy and then turn it on - effect disappears and everything works as intended.
We tried to turn off antialiasing, change Graphics API, making shader preloaded (via Preloaded shader variants) and change sprite compression settings - no effect. If we're changing sprite atlases (modifying packing tag of sprite) - it helps, but temporarily (i suppose the effect is because with changed atlases we have another draw call sequence).
Also we tried to change shader (from NGUI's Unlit - Transparent Colored to Sprites-Default) but this also had no effect.
What else can be wrong?
Your answer
![](https://koobas.hobune.stream/wayback/20220612203606im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
LineRenderer disappearing randomly 1 Answer
Deferred Rendering lighting bug. 0 Answers
Particles seem to be "masked" by geometry 0 Answers
Bright white spots after baking lights 2 Answers
Unity doesn't scale Blit-to-screen render on X-axis? 0 Answers