Loading shader using `Shader.Find` works only in editor
Opened this issue · 0 comments
DavidPeicho commented
Hi,
Thanks for the package!
When building to a target device, this line will fail.
It's stated in the doc that shaders aren't included if not used. I think a nice and easy fix would be to create the material directly in the editor, so the shader is referenced.
Current Workaround
The current workaround is to simply go in the ProjectSettings
and list the shader as always included.