No sound (editor and in-game)

This is an old thread, but to me it was the first result on Google on this issue, so I’m going to add something.

I didn’t have any audio in the editor. I do a lot of audio work and I didn’t have my Speakers device set as the Default Communication Device. Selecting that option in the Windows Sound settings fixed the problem.