I am making a simple game. When player click on a box my character will move to that and open the box. To move the character to the box I use Pathfinding behavior. My issue is in some devices when the character move to the box it shows some lag. Character not moving smoothly. If the device has more than 3GB RAM there is no issue or a little issue, if the RAM is below 3GB lag is very noticeable
On Huawei y9 4GB RAM - No issue works perfectly
On honor 9 lite 3GB RAM - lightly noticeable but not a big issue
On vivo 1801 2GB RAM - Issue is highly noticeable
On Samsung J7 prime 2GB RAM - Issue is highly noticeable
First I thought problem was with my game then I removed all the unnecessary sprites, layers and events to make a simple version. Now the issue was solved a little but still exist.
Then I tested the pathfinding demo from the below link on these devices the result was same