How to optimize multiple sprites,How to optimize multiple sprites?

Hi, I’m currently developing an android game where I have to spawn in bunch of small sprites and connect them together. Now here is the problem:
I made it possible, but I realized the performance is really bad. I would like to know how to optimize them.
I actually found a way of doing it, which was to merge multiple sprites into one. Although I couldn’t find a way to merge them in the game.

So I would like to know how to optimize multiple sprites into one, in order to improve performance. I would also like to know if it is possible for me to merge multiple sprites into one in the game. If so, how?

You have performance issues probably because you’re just instantiating them. One solution is to create a single sprite in an image editing tool and instantiate that, or object pool all those sprites at the start and then reuse them. The first one will have the best performance, while the second one will be the easiest to implement.

Solved merging sprites and colliders helped fps.