WebGL app runs slower on iOS 16.1 devices

I would like to know if anyone can help me.

When I run a WebGL app built with Unity 2021 3.10f1, it runs slower on iOS 16.1 devices than it did on iOS 15 to iOS 16.0.
And we have heard from many players playing with this app that it runs slower on iOS16.1.

The problem is that the screen often freezes for a moment when loading assets.
Is anyone else experiencing this same problem?

I would like to know if anyone knows of a solution or reference for this.

Devices that have been confirmed to be running slow :

  • iPad mini 5th generation (iOS16.1.0 - iOS16.1.1)
  • iPhone 13 Pro Max (iOS16.1.0)
  • iPhone 13 mini (iOS16.1)
  • iPhone 12 mini(iOS16.1.1)
  • iPhone 8(iOS16.1)
1 Like

I don’t know about the slowdown on iOS 16.1, but WebGL only runs single threaded, so it always freezes when loading assets.
Please see the discussion below.

Try
Settings App → Safari → detail → Experimental Features → ‘WebGL via Metal’ turn Off. (if On)

3 Likes

The problem is that the screen often freezes for a moment when loading assets.

I was facing the same problem. In my case, I experienced a 3-5 seconds freeze when displaying dynamic font texts on iOS 16.
Changing the font to Custom Set work around the problem. There may be a problem with writing textures on the new Metal backend…

8594215--1152436--iOS16DynamicFontLag.png

1 Like

Thank you.

I tried what you said here, but the freeze was still better when I changed the dynamic font setting.

Thanks very much korin@VR.

p.s.
I am also Japanese. :slight_smile:

1 Like

I am also having problems with dynamic font text, which I am still facing with iOS 16.2.
Does anyone know the status of Unity’s or Apple’s response to this issue?

I have a problem that freezes when using RenderTexture in WebGl on iOS16.0~16.3 devices.
If you know the solution, please teach me.

RenderTexture rt = new RenderTexture(textureWidth, textureHeight, 24);
mainCamera.targetTexture = rt;