Version: 2019.2

HideFlags.DontUnloadUnusedAsset

Switch to Manual

Description

The object will not be unloaded by Resources.UnloadUnusedAssets.

You must manually clear the object from memory using DestroyImmediate to avoid memory leaks.