WeAthFoLD / MetaSprite

A fast, self-contained, highly customizable Aseprite-to-Unity importer.
MIT License
197 stars 31 forks source link

Atlas generate issue : IndexOutOfRangeException #9

Closed NolifeM closed 5 years ago

NolifeM commented 5 years ago

MetaSprite.Internal.AtlasGenerator+FrameImage.GetPixel (System.Int32 x, System.Int32 y) (at Assets/Plugins/MetaSprite/Editor/Internal/AtlasGenerator.cs:236)
MetaSprite.Internal.AtlasGenerator+<>c__DisplayClass3_0.<GenerateAtlas>b__0 (MetaSprite.Frame frame) (at Assets/Plugins/MetaSprite/Editor/Internal/AtlasGenerator.cs:46)
System.Linq.Enumerable+SelectListIterator`2[TSource,TResult].ToList () (at <1b13ba6391c74847bbc3eddc86df7eee>:0)
System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <1b13ba6391c74847bbc3eddc86df7eee>:0)
MetaSprite.Internal.AtlasGenerator.GenerateAtlas (MetaSprite.ImportContext ctx, System.Collections.Generic.List`1[T] layers, System.String atlasPath) (at Assets/Plugins/MetaSprite/Editor/Internal/AtlasGenerator.cs:30)
MetaSprite.ASEImporter.Import (UnityEditor.DefaultAsset defaultAsset, MetaSprite.ImportSettings settings) (at Assets/Plugins/MetaSprite/Editor/ASEImporter.cs:121)
UnityEngine.Debug:LogException(Exception)
MetaSprite.ASEImporter:Import(DefaultAsset, ImportSettings) (at Assets/Plugins/MetaSprite/Editor/ASEImporter.cs:151)
MetaSprite.ImportMenu:DoImport(DefaultAsset[]) (at Assets/Plugins/MetaSprite/Editor/ImportMenu.cs:106)
MetaSprite.ImportMenu:MenuClicked() (at Assets/Plugins/MetaSprite/Editor/ImportMenu.cs:22)```