Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Material doesn't have a texture property '_MainTex' UnityEngine.Canvas:SendWillRenderCanvases() #5

Open
sericaer opened this issue Mar 6, 2019 · 1 comment

Comments

@sericaer
Copy link

sericaer commented Mar 6, 2019

点击 "Draw Pie2D" button, pie正常绘制,但是输出报错:
Material doesn't have a texture property '_MainTex' UnityEngine.Canvas:SendWillRenderCanvases()

@spr1ngd
Copy link
Owner

spr1ngd commented Apr 1, 2019

需要添加一个_MainTex属性或者添加#include "UnityCG.cginc"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants