Editor 2 crash (tile source collision no trans pixels)

I noticed if you use a tile sheet with no transparent pixels and set this to the tile source collision it will crash the editor.

The error I get is

java.lang.NullPointerException: Unknown

I have attached sample tiles which will crash if use as image and collision

1 Like

Is this in Editor 1 or 2 ?
I cannot reproduce this in Editor 1 myself :confused:

I am using Editor 2. If using transparency on the tile sheet it works fine when adding the tile sheet for collision

I don’t think there would be a case where you would not have any transparent area though in a tile sheet but I thought I would report it.

1 Like

Thanks for reporting! There is an issue for this in our public issue tracker for editor 2, and I linked back to this thread. See https://github.com/defold/editor2-issues/issues/500
Feel free to create new issues there if you trip over something else that is broken!

1 Like

Will do, cheers Erik