Update 2.2.0


New update! (2.2.0) Many polish aspects, and the major addition of imported individual levels!
The update is available in the Unity package manager:

  • Individual level hierarchies are now available!
    • Can drag and drop levels into the scene, which enables a more modular workflow
    • Available by saving as separate level files (.ldtkl) in LDtk
    • Because of this new feature, the root of the imported separate level file is now a GameObject instead of LDtkProjectFile
  • Added a new tree-view in the inspector for the sub-assets LDtkProjectFile and LDtkLevelFile to see the Json data in a hierarchy
  • Added a new button in the IntGrid section of the importer inspector to create an IntGrid value asset
    • This is the new way to create IntGrid tiles. The previous method of creating from the asset menu is removed
  • Improved the entities section in the importer inspector
    • Entities can be visually grouped by tags
    • Given icons to the fields like in LDtk
    • Fixed issue where entity order was incorrectly ordered
  • Improved subsequent loading times for the LDtk project importer inspector (noticeable with large LDtk projects)
  • Fixed unnecessary dirty changes to sprite atlases appearing in source control
  • Many editor-only classes/fields are now internal to protect against unintended accessibility and helps de-clutter the IntelliSense experience
    • Warning: It may affect your code if you were using it. Contact me if you believe that something internal should be publicly accessible
  • Fixed a bug where entity prefabs would not be instantiated correctly when both the LDtk project importer and prefabs import at the same time (ex. Multi-selection or Reimport All)
    • This specific fix, however, prohibits the use of nesting LDtk Projects or levels inside of prefabs, or else import errors will occur
    • Contact me if this is a very important issue
  • LDtk-related content drawn in the scene (lines, labels) will no longer draw if the associated GameObject is inactive
  • Some assets will now use an icon designated for light/dark mode instead of previously always being dark in their inspector window
    • For LDtkLevelFile, LDtkProjectFile, LDtkArtifactAssets, and LDtkIntGridTile
  • Changed/Added to the API. Mostly inconsequential, but correct any issues if they show in your code
  • Many other various UI tweaks

Get LDtk to Unity

Leave a comment

Log in with itch.io to leave a comment.