It’s this issue, I posted a 4-line fix https://itch.io/post/10223311
Yep, that's what it was. I've replaced those lines and tile editing is no longer crashing on save now. Thanks, YAL.