Players can unlock the Railgunner in Risk of Rain 2 by purchasing the Survivors of the Void DLC, which is priced at around $10. After installing the paid content, the new survivor will be automatically added to your account once you launch the game.