Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question WebGL app runs slower on iOS 16.1 devices

Discussion in 'Web' started by ab-build, Nov 16, 2022.

  1. ab-build

    ab-build

    Joined:
    Nov 4, 2022
    Posts:
    2
    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)
     
    mirprojectm likes this.
  2. K_Kuriyama

    K_Kuriyama

    Joined:
    Jul 4, 2020
    Posts:
    67
  3. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    291
    Try
    Settings App -> Safari -> detail -> Experimental Features -> 'WebGL via Metal' turn Off. (if On)
     
    fxlange, K_Kuriyama and korinVR like this.
  4. korinVR

    korinVR

    Joined:
    Jul 7, 2012
    Posts:
    34
    > 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...
     

    Attached Files:

    K_Kuriyama likes this.
  5. ab-build

    ab-build

    Joined:
    Nov 4, 2022
    Posts:
    2
    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. :)
     
    K_Kuriyama likes this.
  6. M-SugayaTakuma

    M-SugayaTakuma

    Joined:
    Apr 9, 2020
    Posts:
    12
    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?
     
  7. h-wata

    h-wata

    Joined:
    May 18, 2020
    Posts:
    1
    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.
    Code (CSharp):
    1. RenderTexture rt = new RenderTexture(textureWidth, textureHeight, 24);
    2. mainCamera.targetTexture = rt;