Author Topic: Bug: Crash when creating Block in Map editor  (Read 1332 times)

Satoh

  • Newbie
  • *
  • Posts: 47
    • View Profile
Bug: Crash when creating Block in Map editor
« 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.
Patience is difficult and rarely thanked, but always appreciated, and sorely missed when absent.

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1172
    • View Profile
Re: Bug: Crash when creating Block in Map editor
« Reply #1 on: July 06, 2016, 10:56:57 am »
I don't reproduce the crash. Can you send me your project?

Starlock

  • Full Member
  • ***
  • Posts: 103
    • View Profile
Re: Bug: Crash when creating Block in Map editor
« Reply #2 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.

Satoh

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Bug: Crash when creating Block in Map editor
« Reply #3 on: July 06, 2016, 04:49:53 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.

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1172
    • View Profile
Re: Bug: Crash when creating Block in Map editor
« Reply #4 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