Cammin / LDtkToUnity

Unity importer for the LDtk level editor
https://cammin.github.io/LDtkToUnity
MIT License
381 stars 38 forks source link

Entity Prefabs disconnect from LDtk project upon saving a prefab #33

Closed Cammin closed 2 years ago

Cammin commented 2 years ago

Something I've noticed while working on a game in my own time. When I save a prefab (essentially reimporting the prefab), the prefabs that were associated as entities in the LDtk project are broken, and an empty GameObject sits in their place as an entity instead. I reimport the LDtk project to fix the issue, but any objects that references the entity within the scene is lost too, so values would need to be re-linked. This is a high priority issue. It should be fixed in the next update.

Cammin commented 2 years ago

The new fix (2.1.7) is out which fixes this issue. I've tested plenty of scenarios without this problem, so we should be good here. 👍