It seems that LDtk 1.2.0 removed the autoTilesetDefUid property from the layer defs. This causes LDtkLoader to break when parsing 1.2.0 levels:
|
m_auto_tileset(j["autoTilesetDefUid"].is_null() ? nullptr : &p->getTileset(j["autoTilesetDefUid"].get<int>())) |
nlohmann/json requires that these keys exist. An assertion is thrown if it doesn't exist:
|
JSON_ASSERT(m_value.object->find(key) != m_value.object->end()); |
It seems that LDtk 1.2.0 removed the
autoTilesetDefUidproperty from the layer defs. This causes LDtkLoader to break when parsing 1.2.0 levels:LDtkLoader/src/LayerDef.cpp
Line 21 in 6ee4be6
nlohmann/json requires that these keys exist. An assertion is thrown if it doesn't exist:
LDtkLoader/src/json.hpp
Line 20306 in 6ee4be6