HideFlags.DontUnloadUnusedAsset

Switch to Manual

Description

Resources.UnloadUnusedAssets 不会卸载该对象。

It is your responsibility to cleanup the object manually using DestroyImmediate, otherwise it will leak.