Frame drop bug in iOS build (15.4 Metal)

Solar2D version: 2022.3666
Test Device: iPhone 13 Pro Max (iOS 15.4.1)


A frame drop bug was found in iOS build (15.4 Metal).
In config.lua, the fps setting is 60.
When you run an app built with 15.4 Metal, it is fixed at up to 30 fps.

@vlads

Additional information found during the test.

Solar2D version: 2022.3666
Test Device: iPhone 13 Pro Max (iOS 15.4.1)


Related to the following code:

  • build.settings

splashScreen =
{
enable = false
},


Test sample
unityads.v4.zip (102.9 KB)

I have the same issue.
FPS drops. 60 fps → 33 fps
(tested on iPhone X and iPhone 13 mini)
in Android, it works well

I find this issue when fixing the app which is release on last September.
that time, there is no problems.

On the same device, tested released version. it works well.

I guess this is related with solar2d Engine between last September and 2022.3666 version.

I checked 2022.3665.
there is warning about iOS version. but works well.
no fps drops.

@vlads As a result, the splash screen option causes the bug to appear.

splashScreen =
{
enable = false
},

Solar2D version: 2022.3666
Build: iOS 15.4 Metal
Test Device: iPhone 13 Pro Max (iOS 15.4.1)