Solarus-Games English Forum

Solarus => Bugs & Feature requests => Topic started by: Satoh on July 06, 2016, 08:52:44 AM

Title: Bug: Crash when creating Block in Map editor
Post by: Satoh on July 06, 2016, 08:52:44 AM
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.
Title: Re: Bug: Crash when creating Block in Map editor
Post by: Christopho on July 06, 2016, 10:56:57 AM
I don't reproduce the crash. Can you send me your project?
Title: Re: Bug: Crash when creating Block in Map editor
Post by: 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.
Title: Re: Bug: Crash when creating Block in Map editor
Post by: Satoh on July 06, 2016, 04:49:53 PM
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.
Title: Re: Bug: Crash when creating Block in Map editor
Post by: Christopho on July 06, 2016, 05:17:42 PM
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