Search Unity

Resolved Resources.UnloadUnusedAssets does not free memory.

Discussion in 'Web' started by K_Kuriyama, May 11, 2022.

  1. K_Kuriyama

    K_Kuriyama

    Joined:
    Jul 4, 2020
    Posts:
    66
    I am using Unity 2021.3.2.

    After creating the game object with Resources.Instantiate, the memory was released on UnityEditor by destroying the game object and executing Resources.

    UnloadUnusedAssets, but when the build is executed later on the browser (Chrome), the memory is not released. It was.

    Can you tell me how to free the memory?
     
  2. K_Kuriyama

    K_Kuriyama

    Joined:
    Jul 4, 2020
    Posts:
    66