Bug: Crash when creating Block in Map editor

Started by Satoh, July 06, 2016, 08:52:44 AM

Previous topic - Next topic
When I click the button to create a Block, in the map editor, the program crashes immediately.
The same happens with Crystal and Crystal Block. This is in snapshot 20160620.
Patience is difficult and rarely thanked, but always appreciated, and sorely missed when absent.

I don't reproduce the crash. Can you send me your project?

Do you have a default block sprite implemented into the game? My editor used to crash when I used the block before I created a sprite for the block.

Quote from: Starlock on July 06, 2016, 04:30:19 PM
Do you have a default block sprite implemented into the game? My editor used to crash when I used the block before I created a sprite for the block.
That seems to be the source of the issue.
For future usability, it may still be a good idea to put an error handler in there for that case, as crashing shouldn't ever be normal behavior.
Patience is difficult and rarely thanked, but always appreciated, and sorely missed when absent.

Ok I will try to reproduce it and fix it for 1.5.
Feel free to add details in the github issues on how to reproduce.
https://github.com/christopho/solarus-quest-editor/issues/195