- Home /
Question by
paulelrich · Feb 18, 2020 at 07:08 AM ·
2dspritessorting order
Sorting order jumbles with more than 30 objects in a single sprite mask
I'm creating a 2D game where the backgrounds of some rooms parallax within a sprite mask that frames the room. When I add more than 30 objects, the sorting order of all the sprites inside the mask seem to randomize.
Removing any of the objects to bring the total count back below 30 resolves the sorting issue.
Is there a max number of objects I can use in a sprite mask? Is this a known bug? Should I be using something other than sprite masks for this purpose?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612223535im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
2D Games with Unity? 2 Answers
Make 2D sprites glow? 4 Answers
2D top-down multiple sprite rotation 1 Answer
What is SpriteManager and how to I download it? 0 Answers
Deform sprite using SkinnedMeshRenderer 0 Answers