Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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?