- Home /
iPhone 4S performance issues
Hello,
The project I'm involved with has been going fine, & works well on all devices from iPhone 3GS to 4, and iPad 1 & 2. However, there is a problem on the iPhone 4S, where it constantly stutters. In an attempt to figure out what's causing the problem, I've whittled it right down to just a textured plane with my gameObject & camera flying over it, but it still stutters.
I was wondering if anybody had had similar experiences, and if so, if they found out what was wrong?
Many thanks.
Answer by Wyern1 · Mar 01, 2012 at 11:22 AM
It happens exactly the same to me too, no idea how to solve it anyways. I'm using unity 3.5
It runs fine sometimes but if you close the application and open it again, every 4-5 frames makes a huge framerate slow down. I have tested with an empty scene, printing the time for each frame and it also happens, so I guess it's not a problem of the application.
Hope someone has the answer to this issue.
Answer by franklynw · Mar 02, 2012 at 08:56 AM
Everyone will probably laugh at this, but as complete Unity noobs, we didn't know... Turns out that when you build in Dev mode, there's a definite performance hit - the stuttering totally went away when we built in release mode. One more thing which really does improve things on mobile devices is to use the particle shaders if you're doing 2.5d stuff & need to use transparency (mobile/particle shaders/transparent), though this was less of an issue on the newer devices.
Answer by Wyern1 · Mar 02, 2012 at 09:43 AM
Well, I didn't know either!
Tried to make sure xcode was building in release and such, but I though the Dev mode was only the label that appears on the screen and it hadnt any impact on performance.
Will try this out, thank you!
Answer by LukaKotar · Mar 02, 2012 at 09:56 AM
Try using Occlusion Culling. It should increase the performance on all devices. If it still does the same, try removing all apps from the multitasking bar, and restarting the phone. If that won't help, I guess there is a bug in the current version of Xcode, or Unity. I'll return to you if I find an answer on google.
Answer by thibahamut · May 21, 2012 at 04:10 PM
So I turned off the "Development Build", and it worked normally.