It turns out my version of the Unreal Engine was broken. I updated from 4.23 to 4.24 and now it works.