SkillAgentSearch skills...

LDtkToUnity

Unity importer for the LDtk level editor

Install / Use

/learn @Cammin/LDtkToUnity

README

LDtkToUnity
OpenUPM Compatibility GitHub Repo stars Downloads Discord

A Unity importer system for deepnight's LDtk.

Discord
Install
Documentation
Changelog
Survey
Trello
OpenUPM
KoFi

It's a simple drag and drop!
DragNDrop

Features

  • Uses ScriptedImporters to import LDtk files, and re-imports when the LDtk project saves
  • Animated Tiles!
  • Collision options
  • Entity prefab replacements
  • Imports fields from entities and levels
  • Automatic enum script generation
  • Custom Post-import scripting to customize the import result (API)
  • Properties and functions for LDtk data for better Unity context (API)
  • Separates Tileset generation to optimize import speeds, and pack into a SpriteAtlas
  • Supports separate level files
  • Supports Unity's Configurable Enter Play Mode
  • Fully documented

Can add separate level files too!
Drag-N-Drop

If you have any questions/problems then post an issue; I'd gladly take any feedback.
Alternatively, contact me at cameo221@gmail.com, the Discord server, or Twitter @CKrebbers.

If you like this importer, consider signing a survey for feedback or donate.
If you make a game using this, then I'd be happy to check it out! Showcase your work on the Discord server or give me a shout-out on Twitter.

Premise & Review

This importer started as an attempt to produce levels in an easy and streamlined fashion. When searching for a solution to mass-produce levels, I discovered LDtk, as its really fun to use and is relatively young. I started working on a personal level importer, but after noticing how convenient and standalone the importer has become, I took it upon myself to make this a public repo as a package! I enjoy it's production, and learning a lot in the process.

<!-- **Entities have scene drawers like in LDtk!** ![Scene](DocFX/images/img_Unity_SceneDrawers.png) [![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FCammin%2FLDtkToUnity&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=views&edge_flat=false)](https://hits.seeyoufarm.com) -->

Opacity

Related Skills

View on GitHub
GitHub Stars422
CategoryDevelopment
Updated5d ago
Forks46

Languages

C#

Security Score

100/100

Audited on Mar 23, 2026

No findings