# RPG Maker MZ Visustella TileD Plugin Issues

**URL:** <https://discourse.mapeditor.org/t/rpg-maker-mz-visustella-tiled-plugin-issues/5441>\
**Category:** Questions\
**Created:** [February 4, 2022, 3:24am UTC](https://discourse.mapeditor.org/t/rpg-maker-mz-visustella-tiled-plugin-issues/5441 "2022-02-04T03:24:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xenwarrior5](https://avatars.discourse-cdn.com/v4/letter/x/8edcca/32.png) [@Xenwarrior5](https://discourse.mapeditor.org/u/Xenwarrior5)\
**Post date:** [February 4, 2022, 3:24am UTC](https://discourse.mapeditor.org/t/rpg-maker-mz-visustella-tiled-plugin-issues/5441/1 "2022-02-04T03:24:13Z")

</div>

So, I downloaded the TileD plugin for Visustella, and I’ve done everything I can to try to make it work, but I keep running into a recurring problem where it crashes with a screen that just says “script error”.

 ![Screenshot 2022-02-03 143900](https://canada1.discourse-cdn.com/flex035/uploads/mapeditor/original/2X/f/fa2c11442d9167d43f94089671320de8695a3c38.png)

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [February 4, 2022, 7:25am UTC](https://discourse.mapeditor.org/t/rpg-maker-mz-visustella-tiled-plugin-issues/5441/2 "2022-02-04T07:25:36Z")

</div>

Hmm, I’m afraid this is probably not the right place to ask for help with this plugin. You are more likely to find help if you ask in the [RPG Maker community](https://forums.rpgmakerweb.com/index.php).

I had a quick look, and I think [this post](https://forums.rpgmakerweb.com/index.php?threads/how-to-install-tiled-and-use-it-in-rpg-maker-mz.127152/page-3#post-1247088) might be relevant.

I find it a bit surprising to read “Tiled changed JSON formatting again in 1.7.x so we have to recreate the plugin from scratch.” I wonder what change they’ve run into.

---

<div class="post-metadata">

**Author:** ![EJlol](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/ejlol/32/1196_2.png) [@EJlol](https://discourse.mapeditor.org/u/EJlol)\
**Post date:** [March 9, 2022, 2:12pm UTC](https://discourse.mapeditor.org/t/rpg-maker-mz-visustella-tiled-plugin-issues/5441/3 "2022-03-09T14:12:52Z")

</div>

Seems they came from 1.3.x, and the reason it crashed was that they were missing a “tiles” attribute somewhere.  
 ![](https://img.itch.zone/aW1nLzczMjg1MTQucG5n/original/nmaJHg.png)

source:

> **[Tiled Plugin for RPG Maker MZ Version 1.03 Released! - Tiled Plugin for RPG...](https://visustella.itch.io/tiledpluginmz/devlog/309521/tiled-plugin-for-rpg-maker-mz-version-103-released)**
>
> Hello Adventurers~ 🌻 The latest update of Tiled plugin is here! We will be providing a project template and video tutorial soon. New Features: The plugin now accepts 'zIndex' property on folders. A...

---

<div class="post-metadata">

**Author:** ![eishiya](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/eishiya/32/2534_2.png) [@eishiya](https://discourse.mapeditor.org/u/eishiya)\
**Post date:** [March 9, 2022, 2:41pm UTC](https://discourse.mapeditor.org/t/rpg-maker-mz-visustella-tiled-plugin-issues/5441/4 "2022-03-09T14:41:02Z")

</div>

The first image is an Image Collection, the second is a Based on Image tileset.  
Tiled doesn’t write out properties for tiles that have none, and in a Based on Image tileset, if there aren’t any terrains, animations, collisions, or custom properties, then none of the tiles have anything worth writing out to file. In an Image Collection, every tile has some properties, so there is always a `tiles` array.

The JSON Tileset spec lists `tiles` as optional because of this behaviour. If this is indeed the error, then the plugin should’ve been experiencing these for a long time, and the only reason it might’ve gone unnoticed it because they never tested with a very simple tileset before…  
The fix for this bug is a trivial check that `tiles` exists, which they posted on the itch io page. There’s no reason that it shouldn’t be backwards compatible with 1.3.

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [March 9, 2022, 3:02pm UTC](https://discourse.mapeditor.org/t/rpg-maker-mz-visustella-tiled-plugin-issues/5441/5 "2022-03-09T15:02:15Z")

</div>

> [@EJlol](#):
>
> Seems they came from 1.3.x, and the reason it crashed was that they were missing a “tiles” attribute somewhere.

Hmm, that difference is actually not between the version (1.3 vs. 1.7) but in that the left tileset is an _image collection_, where each tile references an image, whereas the right tileset is _based on a tileset image_. In the second case, the `tiles` property is only included when there is any additional information to store about the tiles. Ideally the plugin would handle both cases.

Edit: I should try not to get distracted while authoring posts…

Thanks for digging that up btw, @EJlol!

---

<div class="post-metadata">

**Author:** ![Archeia](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/archeia/32/3682_2.png) [@Archeia](https://discourse.mapeditor.org/u/Archeia)\
**Post date:** [March 9, 2022, 11:32pm UTC](https://discourse.mapeditor.org/t/rpg-maker-mz-visustella-tiled-plugin-issues/5441/6 "2022-03-09T23:32:43Z")

</div>

Hi there, I’m sorry for the trouble but please update your plugin and contact us directly in the future next time!

> **[Tiled Plugin for RPG Maker MZ Version 0.10 Released! - Tiled Plugin for RPG...](https://visustella.itch.io/tiledpluginmz/devlog/355976/tiled-plugin-for-rpg-maker-mz-version-010-released)**
>
> Hello Adventurers! 🌻 The latest update of Tiled plugin is here! The code has been remade from scratch. The old version was not very well made and has caused various issues. Stella team would like t...
