Version: 2017.3

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.