mob-sakai / SoftMaskForUGUI

Enhance Unity UI (uGUI) with advanced soft-masking features to create more visually appealing effects!
https://github.com/mob-sakai/SoftMaskForUGUI
MIT License
2.08k stars 269 forks source link

compiling UI-Default-SoftMask.shader fails when editor is in WebGL mode #63

Closed teh1archon closed 4 years ago

teh1archon commented 4 years ago

Performance spike and endless exceptions in run mode. In the editor I get the following error:

Shader error in 'UI/Default-SoftMask': failed to open source file: './../../SoftMask.cginc' at line 60 (on d3d11)

Said line is:

include "./../../SoftMask.cginc" // Add for soft mask

Environment:

No problems in Android mode (I work only under these).

teh1archon commented 4 years ago

No matter. It's purely Unity issue as seen as well here: https://github.com/Unity-Technologies/PostProcessing/issues/789

Deleting the library folder fixed it.