This version of Unity is unsupported.
Method group is Obsolete

Packer.RebuildAtlasCacheIfNeeded

Obsolete public static void RebuildAtlasCacheIfNeeded(BuildTarget target, bool displayProgressBar, Sprites.Packer.Execution execution);

Description

Rebuilds the Sprite atlas cache.

If Sprite atlas files are available, they will be remapped.