Update 2.1.7


A new update for LDtkToUnity! The update is available in the Unity package manager:

- Added a "Native" Prefab export option, accessible from the importer inspector
  - Saves a prefab (and other assets) to a specified folder, stripped from all associations to LDtk data/components.
  - Useful if there is a desire to uninstall the importer package, but still maintain (most of) the creation in Unity.

- Added a new field to `LDtkIntGridTile` to optionally set a custom `PhysicsMaterial2D` for tilemaps

- Updated API incompatibilities for Unity 2021.2

- Updated the used Newtonsoft Json package to 2.0.2 (12.0.301)

- Changed how the project hierarchy is built
  - Layer GameObjects that don't ultimately serve a purpose for a given level will not be built     
    - (ex. IntGrid layer with no values, entity layer with no entities)

- Improved information in the inspector if there was a breaking import issue

- Fixed a bug where importing/saving a level/entity prefab would break the corresponding reference in the imported LDtk project

- Fixed an import error related to using level fields that were ints, floats, or points

- Fixed a substring error that may have been logged while moving assets

- Added a safeguard when level/entity field data is being built

- Added a safeguard from potential problems with any chosen file paths that are outside the Unity project
  - Implemented for selecting enum path and prefab export path

- Fixed a minor GUI error that would appear when assigning a GameObject for a `LDtkIntGridTile`

Get LDtk to Unity

Leave a comment

Log in with itch.io to leave a comment.