The video game industry is richer than it has ever been. Its revenue in 2018 was $43.8 billion, a recent report estimated, thanks in large part to hugely popular games like Fortnite and Call of Duty. These record-breaking profits could have led one to think that the people who develop video games had it made. But then the blood bath began.

In February, Call of Duty’s publisher, Activision Blizzard, laid off 8 percent of its staff, or nearly 800 workers, in a cost-cutting massacre. A few weeks later, the game studio ArenaNet cut dozens of positions, while smaller layoffs hit companies like Valve and the digital store operator GOG. And just last week, the video game giant Electronic Arts announced that it was laying off 350 people across the globe.

This brutal start to 2019 followed the closures of major game companies like Telltale, the makers of games based on The Walking Dead, and Capcom Vancouver, the large studio behind the popular action series Dead Rising in 2018. All in all, thousands of video game workers have lost their jobs in the past 12 months.

In many of these cases, laid-off employees had no idea what was coming. One developer at a major studio told me in February that he and his colleagues had been crunching — putting in long hours, including nights and weekends — for a video game release, only to be suddenly told that security was waiting to escort them off the premises.