diff --git a/packages/flame_texturepacker/lib/src/texture_packer_atlas.dart b/packages/flame_texturepacker/lib/src/texture_packer_atlas.dart index 309779837dc..951e84f6462 100644 --- a/packages/flame_texturepacker/lib/src/texture_packer_atlas.dart +++ b/packages/flame_texturepacker/lib/src/texture_packer_atlas.dart @@ -101,7 +101,7 @@ Future<_TextureAtlasData> _parse( if (fromStorage) { fileAsString = await File(path).readAsString(); } else { - fileAsString = await Flame.assets.readFile(path); + fileAsString = await Flame.assets.readFile('images/$path'); } final iterator = LineSplitter.split(fileAsString).iterator;