I just released a game to the app store but the main issue is how slow the game is running, I believe the issue is with collision because I have a lot of coins in the scene that the player collects (like an endless runner game). The frame rate drops every time a coin is collected and I was wondering if there is any way to make the game run smoothly. Also, I destroy prefabs that aren’t being used in the scene at certain times.
You already published the game, and you haven’t even run the profiler yet? Noice
In any case, make a development build, attach the profiler to your app running on your phone, see what’s slow, profit
There are some things that are slow on phones but insignificant on PC. I don’t have that much experience with mobile, but I can try and name my tips:
- Triangle count (perhaps on skinned meshes)
- Post processing and Fill rate in general (how many pixels does the gpu need to write anywhere, including overdraw)
- Dynamic shadows, for multiple reasons including those above