- Home /
Sprite doesn't show on Canvas, can't change to Image because I need Sprite Renderer component
Hello there, I'm trying to make a character model sprite stay still while its frame zooms in and out. I've added a child Sprite Mask to the frame and therefore I need to use Sprite for my character model for the Sprite Renderer component (specifically the Mask Interaction option because I want the model to only show when it's inside the frame).
I cannot use the Image Mask function because the frame will scale (shrink / expand) and I don't want the model to scale along with it, since the Mask technique requires parenting.
It works fine so far, but when trying to develop new functions (adding scroll view for multiple model sprites, etc.), I found that the model sprite will turn invisible. I've browsed through forums to find out what might be causing this to happen and I found out that it's probably because I'm using Sprite instead of Image. Changing the Z position doesn't seem to be doing anything.
Is there a solution to prevent the sprite from going invisible? Thank you.