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

Failing to open source file SoftMask.cginc #105

Closed
RodrigoManuelPerez opened this issue Sep 27, 2020 · 8 comments
Closed

Failing to open source file SoftMask.cginc #105

RodrigoManuelPerez opened this issue Sep 27, 2020 · 8 comments
Assignees
Labels
question Further information is requested

Comments

@RodrigoManuelPerez
Copy link

Hi this is my first issue ever so i'll try to do it right

The thin is that as soon as I try to attach the components SoftMaskeable and SoftMask, it throws me a shader error on the editor:

Shader error in 'Hidden/UI/Default (SoftMaskable)': failed to open source file: 'Packages/com.coffee.softmask-for-ugui/Shaders/SoftMask.cginc' at line 59 (on d3d11)

This results into a missing texture and the mask image turns into the missing texture pink color

I'm working on Standalone(Windows/Mac/Linux) on Unity 2019.3.0f6 and I tried the last 2 release versions

@RodrigoManuelPerez RodrigoManuelPerez added the bug Something isn't working label Sep 27, 2020
@mob-sakai
Copy link
Owner

@RodrigoManuelPerez
Thank you for reporting.
I would like to know more about this issue.
Could you please attach a minimal project (included Assets, Packages and ProjectSettings directories) that reproduces the issue?

@mob-sakai
Copy link
Owner

@RodrigoManuelPerez
It does not reproduce in my environment.
Did you install the package via upm?

@mob-sakai mob-sakai added question Further information is requested and removed bug Something isn't working labels Sep 28, 2020
@RodrigoManuelPerez
Copy link
Author

@mob-sakai
Hi I tried again and it works fine, well i have to learn how to use it properly but it works with no errors. I tried to install it through upm but it was my first time so i guess a made some mistake

Thank you very much and I appreciate the support!! ^^

@mob-sakai
Copy link
Owner

I’m happy to hear that!

@tomkail
Copy link

tomkail commented Jul 26, 2022

Sorry to resurrect this thread, but we're seeing this too. The folder in Packages appears to be called UI Soft Mask so I can see why it would fail to reference Packages/com.coffee.softmask-for-ugui. I've tried uninstalling/reinstalling without success.

@FaruqSuriaganda
Copy link

Sorry to resurrect this thread, but we're seeing this too. The folder in Packages appears to be called UI Soft Mask so I can see why it would fail to reference Packages/com.coffee.softmask-for-ugui. I've tried uninstalling/reinstalling without success.

Just change the link to the right location. I had mine inside the asset folder.

@ducloc96
Copy link

Sorry to resurrect this thread, but we're seeing this too. The folder in Packages appears to be called UI Soft Mask so I can see why it would fail to reference Packages/com.coffee.softmask-for-ugui. I've tried uninstalling/reinstalling without success.

Just change the link to the right location. I had mine inside the asset folder.

What is the right location?

@NikitaKirakosyan
Copy link

NikitaKirakosyan commented Aug 20, 2023

Sorry to resurrect this thread, but we're seeing this too. The folder in Packages appears to be called UI Soft Mask so I can see why it would fail to reference Packages/com.coffee.softmask-for-ugui. I've tried uninstalling/reinstalling without success.

Just change the link to the right location. I had mine inside the asset folder.

What is the right location?

You probably don't need it anymore, but try this:

  1. in UPM select UI Soft Mask
  2. in the additional window on the right there are tabs like "Description", "Version History", "Dependencies", "Samples"
  3. select the "Samples" tab
  4. click import wherever needed within the tab

image

I hope it will help other users

@mob-sakai
@ducloc96

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

No branches or pull requests

6 participants