diff --git a/Assets/LDtkUnity/Editor/ScriptedImporter/LDtkTilesetImporter.cs b/Assets/LDtkUnity/Editor/ScriptedImporter/LDtkTilesetImporter.cs index b12cedbe..e33b446b 100644 --- a/Assets/LDtkUnity/Editor/ScriptedImporter/LDtkTilesetImporter.cs +++ b/Assets/LDtkUnity/Editor/ScriptedImporter/LDtkTilesetImporter.cs @@ -236,7 +236,8 @@ private LDtkArtifactAssetsTileset MakeAndCacheArtifacts(TextureGenerationOutput { LDtkProfiler.BeginSample("AddSpriteToAsset"); Sprite spr = output.sprites[i]; - spr.hideFlags = HideFlags.HideInHierarchy; + //need to reveal sprites in the hierarchy, so they can be added to a sprite atlas + //spr.hideFlags = HideFlags.HideInHierarchy; ImportContext.AddObjectToAsset(spr.name, spr); LDtkProfiler.EndSample();