Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question Unity 2022.3.13f1 still need to GC Collector?

Discussion in 'iOS and tvOS' started by Rachan, Nov 26, 2023.

  1. Rachan


    Dec 3, 2012
    Hi there!

    I was Unity2021LTS and I had to

    Code (CSharp):
    1. Resources.UnloadUnusedAssets();
    2. System.GC.Collect();
    every time I changing the scene, and everything Ok,

    But when I was changed to use Unity 2022.3.13f1 (latest version of unity)
    my game start clashed and close itself so often, when I changing the scene.

    so, I wondering this Unity version still need to call those scripts?
    I just want to find someway to restart all memory or all things similar to start open the app game,
    when I changing the scene, there has anyway to do that?