FPS drops on iOS every few seconds. UE 4.27

Hello, strange and annoying thing happens, when I launch every project on iOS ( iPhone 11 ). Performance, FPS drops every few seconds. I installed few maps from Infinity Blade, optimized for mobiles, sample projects from Epic ( 2D Sidescroller for example ) and it is always the same thing: FPS drops from 30 or 60 to something like 10. Game almost freezes for a moment.
I thought, that Unreal Engine is no more for mobile, or war beetwen Apple and Epic is killing development for iOS, but I downloaded Action RPG from AppStore, and it runs without this strange thing.
Can someone help, or at least check on iOS device, if this drops in framerate occurs??? I think something is running in the background and stealing “resources”, because this freezes occurs even on literally empty levels/maps. I disable UDP Messaging, but i doesn’t help me.

(EDIT) I’ve found the “culprit”, it’s the WiFi. When I switched off the WiFi on iPhone everything is OK, no lag, freeze every 3 - 4 seconds. But I think there is a bug somewhere, because there is no such problem when I test Action RPG from Epic, or when I play or test other games, applications on my mobile. It must be something conncted with this: How to fix "would like to find and… | Apple Developer Forums because when I first launch my app on iPhone there is a message" (MyApp) would like to find and connect to devices on your local network". The same notification is when I switch off and on WiFi.
Can anyone know solution how to solve this? For me there is no problem switching off WIFi, but on final build, when the game is on AppStore it’s quite strange to ask future users to switch off WiFi, otherwise the game will be laggy…

1 Like

I’m also seeing this exact same issue, on iOS 16 beta. Turning off wifi fixes it for me too.

Hey @Sardaukar I’m getting the same popup “would like to find and connect to devices on your local network”, wondering if you’ve found a way for Unreal not to request it?

I should add that I’m not getting the popup in Shipping builds, it only seems to request in Development builds.

Similarly it happens to me with development built on iPad since early this year with UE 5.1. Before, it ran smoothly but since then I am seeing a stuttering every 5 seconds. I tried the above mentioned solutions but that did not help. Tested with basic starter content only - still stuttering. I am wondering if UE5.1 is not keeping up with the IOS 16.2 update?
Also, when I set “Metal Shaders Standard To Target” to IOS 16 and “Minimum IOS Version” to 16, deployment on iPad fails.

Still happening in 5.2. Does someone know if it’s reported?

2 Likes

I have submitted a report bug report on this issue.

Same issue in 5.3.1 for iPadOS 16.7.1. Turning off Wifi doesn’t solve it for me either.
Any news on this?

Solution:

Go to Project Settings >> Packaging >> Build Configuration and set it to “Shipping”

The default “Development” build configuration doesn’t have the necessary optimizations for the game to run smoothly on iPhone.