mob-sakai / UIEffect

UIEffect is an effect component for uGUI element in Unity. Let's decorate your UI with effects!
https://github.com/mob-sakai/UIEffect
MIT License
5.57k stars 770 forks source link

Shaders included in build even if they are not used anywhere in the scenes #216

Open GoShikhar opened 4 years ago

GoShikhar commented 4 years ago

If possible try placing the shaders in some folder other than "Resources".

My mobile game project just uses one effect but the shaders of all other effects get included in the build thus increasing the size.

Other than that, great work. Love this project.

Unity 2019.4.0f1 4.0.0-Preview-9

mob-sakai commented 4 years ago

@GoShikhar Thank you for your reporting.

A shader variant collection or build pipeline might solve this problem. I’ll try them later.