- Home /
Sprites with mask interaction do not batch with prefab using a sprite atlas?
I am in the middle of moving several sprites into a sprite atlas, with one of them being a sprite mask that covers the outside of the next sprite behind it. Basically, I am making a hand holding a mirror piece (the mask) that shows a different image inside.
Upon rending though, the dynamic batching fails due to the inner image having the mask interaction set to "Visible Inside" or in another term, having a stencil ref of 1.
Is there a way to have the conjoined sprite batch along with its other sprites without this restriction of masking to interfere?
Your answer
![](https://koobas.hobune.stream/wayback/20220612222809im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Which sprite atlas goes into an asset bundle? 0 Answers
How to create SpriteMask through script. 1 Answer
[Unity3D] Sprite not rendering correctly when it's too small? (Appearing like a blob) 0 Answers
Shaders to show damage? 1 Answer
If I use Sprite Atlas, will the images that are part of the atlas still be included in build? 1 Answer