2D Laggs in iOS
Hello, bros, i have some problem with my iPhone 5S. Game runs with 10 FPS… in there.
But on my very bad Android device it runs very good… What i doing wrong? Maybe Unity settings or xCode settings? pls help.
Answer by MuffinMan101010 · Jul 19, 2016 at 03:09 PM
I am not an expert with these things, but one way to go is to reduce the file size.
https://docs.unity3d.com/Manual/ReducingFilesize.html
This is one way to go, but not the best.
Answer by JamesLawrenceMyQVO · Jul 19, 2016 at 08:08 PM
If it works on low powered android but not iOS it may be that iOS will only compress textures if they are square powers of two, so you might need to use a Sprite Atlas. Unless your scripts are huge, I doubt that the IL2CPP compiler growing the file size is the problem. If that doesn't work (which the size of the app should be a clue on), it might be some option that you have selected differently between the Android or iOS builds. The texture importer overrides for each type of project and vsync might be good places to check, as well as if you have any debugging active.