• Unity
  • Can I suppress atlas warning dialog?

Related Discussions
...

Hi.I use shared atlases with many skeletons.
I wrote shells to export atlases and skeletons separately, and put them in different directories.

When new skeleton was imported, atlas warning dialog appeared every time.
I want to suppress this.

I always select "Import without atlases" and resolve assets references later.

Thanks.

We don't offer a setting parameter for this.

However, you can simply edit the code in the file AssetUtility.cs:
spine-runtimes/AssetUtility.cs at 3.8
And replace this line:

SkeletonImportDialog(skeletonPath, localAtlases, requiredPaths, ref abortSkeletonImport);

with a disabled commented-out version by adding // in front of it:

//SkeletonImportDialog(skeletonPath, localAtlases, requiredPaths, ref abortSkeletonImport);