Answer the question
In order to leave comments, you need to log in
How to optimize a large number of objects in Unity2D?
I have a game where a lot of objects spawn with Instantiante and are removed after about 5 - 10 seconds with an object with BoxCollider2D or Destroy. On my phone (Redmi note 7) there are no lags, but if you take a weaker phone, then fps drops more significantly. What are the ways to optimize this?
Play on google play if needed - https://play.google.com/store/apps/details?id=com....
Answer the question
In order to leave comments, you need to log in
Use materials for Mobile phones, limit the number of created objects, optimize the script. Use a sprite atlas (judging by the photo in Google Play, sprites are the basis of graphics). Optimize lighting and quality presets
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question