Closed chiangandy closed 1 week ago
append more information... mask image object setup
image under mask setup
I also have issues with scroll rect since the update, and recorded a video of these issues.
@mob-sakai Let me know if you're interested in the video to help resolve the issue. I tried to send it to you privately, but I couldn't find your email address and your Twitter DM are disabled.
Thank you for your 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?
@Mythique sakai861104@gmail.com
@chiangandy Let's try how to avoid it.
—
I think there seems to be no problem using AntiAliasing or Normal instead of MaskingMode=SoftMasking.
Please display the red circular frame in front of the icon. It will cover the jaggies.
Yes, After I change the mask setting, issue is solved. So happy! Thanks for your help. Thanks a lot.
@chiangandy That's great to hear. To further investigate the issue, could you submit a minimal reproducible project? (Of course, you don't need to include any critical assets from your project. Instead, feel free to use free assets.)
Could you please attach a minimal project (included
Assets
,Packages
andProjectSettings
directories) that reproduces the issue?
basically, I just do following thing.
Set ShowMaskGraghic to false. Insert a background image under SoftMask.
and rebuild app than issue is solved. :)
@chiangandy Apologies for any confusion. What I'm looking for is a "minimal reproducible project" where the issue can be consistently observed.
"minimal reproducible project" means to provide the project content? Since it is a company's project which contains confidential data inside, it is difficult to provide partical code without sensitive data. If time is allow, I will create a new project to make issue to show, but it need time....
Of course, you don't need to include any secret assets from your project. Feel free to use free assets instead.
I make other simple project include soft mask which can produce the issue for white circle mask image over the rect scroll view. Please take a reference. I hope it is useful for you. :)
REGARDS
Andy Chiang 江謝迪
[image: image.png]
mob-sakai @.***> 於 2024年8月17日 週六 下午5:46寫道:
Of course, you don't need to include any secret assets from your project. Feel free to use free assets instead.
— Reply to this email directly, view it on GitHub https://github.com/mob-sakai/SoftMaskForUGUI/issues/183#issuecomment-2294810347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALGOG46LPWQCCBGR64NURDZR4LVXAVCNFSM6AAAAABMNIIAIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUHAYTAMZUG4 . You are receiving this because you were mentioned.Message ID: @.***>
The issue is not reproduced on my environment... If the same issue arises, please re-open this issue.
This issue is still happening for me too. Everything is fine in the editor, but it doesn't work on Android. The scroll view has a Mask, inside there is a container with a vertical layout group. The SoftMask game object has a child with an image loaded at runtime. These images are inside a Sprite Atlas.
@Mythique
I would like to know more informations about this issue.
Could you please attach a minimal project (included Assets
, Packages
and ProjectSettings
directories) that reproduces the issue?
Of course, you don't need to include any secret assets from your project. Feel free to use free assets instead.
@Mythique Temporary solution: https://github.com/mob-sakai/SoftMaskForUGUI/issues/183#issuecomment-2289998665
I invited you to a private repository on GitHub, with a "minimal" reproduction. I confirm that I can see the bug when building for Windows or Android.
The scene to launch is called "Map" and can be found under "Assets/Project Assets/Scenes".
Thank you for taking the time to look into this.
Thank you 👍
OK, I found a way to reproduce it in the editor.
Workaround: Show Mask Graphic = false
This occurs when there is a SoftMask under Mask.
:tada: This issue has been resolved in version 2.2.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 3.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Sorry to post again. After I solve my previous issue and run app on mobile device, it can display but when I move content in scroll view and let content to overt the viewport area it will appear the mask image over the view area. Has any idea about this? But when I run this in Unity mobile simulator, it has no this issue.
my environment. mobile device - Android on Hauwei p20 pro. Unity 2021.3.30f Dev in APPLE silicon