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
2k stars 262 forks source link

TextMeshProUGui with Soft Maskable has TargetException #53

Closed IvoCapeloMiniclip closed 4 years ago

IvoCapeloMiniclip commented 5 years ago

Our project isn't using the depth buffer/stencyl so we need the SoftMaskable component on UGUI to force it to mask.

Added a SoftMaskable to the TextMeshProUGUI component and it causes a Target Exception at line 314 of the SoftMaskableEditor. m = s_FiMaterial.GetValue(spriteAsset) as Material;

mob-sakai commented 5 years ago

Hi @IvoCapeloMiniclip Thank you for your reporting!

Hmm, do you use Scriptable Render Pipeline (SRP)?

IvoCapeloMiniclip commented 5 years ago

Hey we do not :)

mob-sakai commented 5 years ago

OK, I will check it later. :)

mob-sakai commented 5 years ago

@IvoCapeloMiniclip Hmm, can you submit a reproducible minimum project for this issue?

mob-sakai commented 5 years ago

@IvoCapeloMiniclip Are you doing well?

IvoCapeloMiniclip commented 5 years ago

Hey sorry didn't see this the first time. hmm i just tried a blank project and the error does not happen

mob-sakai commented 5 years ago

👀

IvoCapeloMiniclip commented 5 years ago

Must be some weird combination of settings on our main project. 👎

mob-sakai commented 5 years ago

@IvoCapeloMiniclip Oh, I see.

mob-sakai commented 4 years ago

I am closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version. If it is an enhancement and has not been taken on for so long, then it seems no one has the time to implement this.

Please reopen if you still encounter this issue with the latest stable version and then please use the issue template. You can also contribute directly by providing a patch. :)

Thank you!