mob-sakai / UIEffect

UIEffect is an effect component for uGUI element in Unity. Let's decorate your UI with effects!
https://github.com/mob-sakai/UIEffect
MIT License
5.62k stars 773 forks source link

Setting the sprite cause image to disappear #173

Closed MoDDiB closed 4 years ago

MoDDiB commented 5 years ago

Describe the bug if you change the sprite with the code and the image as a UIEffect the Image will disappear.

To Reproduce Steps to reproduce the behavior:

  1. Create an image
  2. Add a monobehavior to set another sprite during the update 3 Set a UIEffect
  3. The image will disappear

Environment (please complete the following information):

mob-sakai commented 5 years ago

Hi @MoDDiB Thank you for your reporting!

mob-sakai commented 5 years ago

Did you add a UIEffect component while in play mode? If so, it is not supported.

M0rph3v5 commented 5 years ago

Also there's a known unity bug at the moment where if you set the sprite on uiimage components at runtime they dissappear. If you set the overridesprite it still works.

mayura33 commented 4 years ago

Any resolution for above issue? i am also facing the same problem.!

mob-sakai commented 4 years ago

it seems there is a bug...

mayura33 commented 4 years ago

Can we expect any release date for above bug fix? if then please let us know :)

mob-sakai commented 4 years ago

@mayura33

I cannot give you an ETA at this time. Sorry.

github-actions[bot] commented 4 years ago

:tada: This issue has been resolved in version 4.0.0-preview.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: