Search Unity

Unity 2021.3.7 - Mobile Web - System out of memory after refreshing page

Discussion in 'Web' started by tiggaxxx, Aug 5, 2022.

  1. tiggaxxx

    tiggaxxx

    Joined:
    Jan 13, 2020
    Posts:
    30
    As the title says, i have been getting a out of memory error after refreshing the page, and this only happens on mobile..

    It works fine when the page loads the first time, but if i refresh the page it's a 50/50 chance to get a System out of memory error.. Did anything change? Is there a problem with memory managment on newer versions of unity?

     
  2. anthony_b_

    anthony_b_

    Unity Technologies

    Joined:
    Oct 27, 2020
    Posts:
    24
    Hi. We continually making improvements to memory usage.

    Are you using Asset Bundles or Addressables in your project? If so, there is some inefficient caching which has been changed in Unity 2022.1, but we can provide information on how to adjust for Unity 2021.3

    With mobile content, it's important to use the correct mobile texture formats, as using DXT will result in the texture being decompressed in memory before being loaded to the GPU.

    What device (iOS/Android) and which browser are you using?
     
    xiangshushu likes this.
  3. tiggaxxx

    tiggaxxx

    Joined:
    Jan 13, 2020
    Posts:
    30
    Hi, yes i am using Asset Bundles in the project.. And indeed the asset i am loading has some DXT compressed textures..

    I am using the latest version of Google Chrome and Android 11..