Correct me if I'm wrong, but I cannot see any problems with the console.log. We're going to need more info if we're to help you. This is just a random guess, but perhaps you accidentally hit the Esc key right before you spawned? I don't think that's the case because you said your game crashed, which means that it closed completely, so I don't think you pressed your Esc key.
More info please.