|Topic was automatically imported from the old Question2Answer platform.
So I have a simple 2D project containing 5 layers (4 parallax bg layers , 1 ground layer).
Then I have a player scene which has a simple controller and a capsule shape.
Now, this runs perfectly on pc.
MY DEVICE - Redmi Note 5 (RAM- 3GB)
PROBLEM - But when I export for android, the game suddenly becomes laggy.
WHAT I TRIED TO FIX -
a) lowering the image resolution (Doesn’t work)
b)reducing the the no of bg layers (It works perfectly if there are 2 layers. As I increase
the layers to 3 it goes back to laggy)
c) Trying on a better phone (It works on highest end phones)
So why does it break at more than 2 layers ?
Is it a RAM thing (my device has 3gb)?
Is there any other way to fix it?
Will there be same result if I use any other engine?
Pls help me with this … I cant go any further before I fix this.
if anyone facing this issue…
i tried everything it didnt work. So I switched to unity and it works like a charm.
Sarthak | 2020-10-08 07:17