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
1.97k stars 261 forks source link

[v1] Weird Rendering with world canvases when resizing or moving #108

Closed TheXRMonk closed 1 month ago

TheXRMonk commented 3 years ago

Describe the bug Basic resizing or moving of a world canvas breaks the masks. Saving the scene updates and sometimes fixes it, but not always

To Reproduce Setup some world canvas with a mask and something masked. Then resize or move it.

Screenshots Before moving; image

After moving on z axis: image

Small video: https://user-images.githubusercontent.com/54309738/102783605-76611d80-439b-11eb-9863-25c8cbdcaf31.mp4

Environment:

mob-sakai commented 3 years ago

@VirsabiMunk Thank you for your reporting!

pajama commented 2 years ago

I had similar behavior. Was resolved by setting the event camera on the canvas.

mob-sakai commented 1 month ago

Please try v2: https://github.com/mob-sakai/SoftMaskForUGUI/releases/tag/v2.0.0