How do I optimize my game when I've tried everything and still runs slow?

Hello,

so my little game for android is pretty much done, the problem is that when I run it on my phone to test it out it doesn’t run 100% fluid. It’s not critical but still bothers me. I’ve tried to fix this in so many ways i don’t even know what else to try. The thing is, in the game you move forward in a straight path and you can move left and right to avoid objects. Similar to a temple run, yes. But the game only runs slow when the player is on the middle lanes. It runs perfectly when it is on the outer lanes. I’ve reduced garbage collection by almost 90%, tried lighting on and off (there is actually only one directional baked light and it doesn’t even cast shadows), removed objects, added occlusion culling so that there are not unneccessary obects to render, reduced the far clipping plane of the camera at less than half, optimized the code as much as possible. And it still runs slow.

Does anyone have any idea of what could this be? How else could I fix it?

I’ve also tried ETC texture compression which I’ve read is perfect for android but doesn’t make any change. The game is composed by cubes with no texture, only standard colours and there are a maximum of 120 objects in each level, and not all of them are rendered now, so it’s not that much.

Could it be my phone? It’s a Samsung a5.

Thanks so much, waiting for anyone’s response since i’ve ran out of ideas.

Have you already profiled your game?
If not, make a build with autoconnect to profiler.
Do a deep profiling run and then check what is slowing down your game.

Might be of help:

Greetings
Chillersanim