Soorya
Soorya

Reputation: 711

Why material added to ui panel is not visible in android build but works fine in editor window in unity3d?

The material added to the UI Panel is working in the editor window but not working in android build. How to fix this?

Editor Screenshot image

Android screenshot image

Note:

  1. I have tried adding a shader to "always Included shader" list in the project setting menu. still not fixed.
  2. I'm not altering the shader/material in the code.
  3. This is worked fine in a previous unity version. (my unity version is 2018.3.11f1)
  4. The same material works fine in other game objects (like a cube, etc,.), but not works with any other UI (like buttons, canvas, etc.,)

Upvotes: 1

Views: 1606

Answers (1)

user11869140
user11869140

Reputation: 21

you should check your shader. i think you have another shader change the Render Queue. Add ZTest Off in your shader.It might work

Upvotes: 2

Related Questions