Cammin / LDtkToUnity

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

[Feature Request] HotReload support #53

Closed Fire-Aalt closed 9 months ago

Fire-Aalt commented 9 months ago

I am using HotReload in my project and when it is turned on the import process of the LDtk project is not triggered every time i save it in LDtk. I get the notification that everything has been imported but the levels did not update and post processors did not trigger.

Because of the nature of HotReload asset, it only reimports when the code change affects the editor thus breaking the import process in Unity.

Cammin commented 9 months ago

I'll continue this in a discord thread 🙂

Fire-Aalt commented 9 months ago

Ctrl+R to refresh Assets is the only way to reload project with HotReload turned on. It is the HotReload responsibility to add ScriptedImporters support