If i'm not mistaken, the game crashes when i clear the wave were is an enemy with an HP bar.
The wave count as done while there is one enemy left and when the screen fades to black the game crashes.
At the main menu when i try to do a ranged attack the game crashes aswell, so it may be related to the other crash.