Skip to content

Errors when using Aseprite source file for Tiled tilesets and/or the Unity 2D Aseprite Importer package #282

Open
@meckzqz

Description

@meckzqz

As both Unity and Tiled support the usage of Aseprite project files, I was disappointed to discover that SuperTiled2Unity is not currently compatible with .tsx files using an .aseprite file as an asset dependency and/or Unity's own Aseprite package. In my experience, SuperTiled2Unity properly imports the path for the asset, but then fails to find sprites (though does proceed to render invalid sprites when Unity's Aseprite importer is installed).

My naive guess as to what's happening is that SuperTiled2Unity doesn't currently support .aseprite files as a dependency for .tsx files at all, but is still managing to acquire something when Unity's package is installed, as the .aseprite asset will be known by the AssetDatabase.

While supporting this workflow would be reliant on maintaining Tiled and/or Unity's context for Aseprite files, hopefully the motivation to use it seems reasonable given how convenient it is (saving a change in Aseprite will update across both Tiled and Unity without the need for exporting). At the very least, SuperTiled2Unity should probably throw a more descriptive error than "The following texture is missing sprites that are needed for Tiled tilesets (in Super Tiled2Unity)." in this edge-case (clicking the "Add Sprites To "*.aesprite"" button will also result in a crash).

If any consideration could be made for having this setup work, it'd be much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions