For instance, I constantly head hunted for jobs with Unreal Engine and/or Unity, and the fact that I haven't used them significantly doesn't really affect that much.
Not all companies are playing buzzword bingo.
* Unless you want to do Perl maintenance or C++ for fintech, I suppose.
The lens of the HN community is technology == computer science, when the main tool you have is a hammer. Everything looks like a nail.
There's big money in that - those legacy applications are vital to the functioning of big corporations. Specialising in large in-house C++ applications obviously doesn't help develop a career in trendy webdev (and nor should it), but it absolutely gives you some good options.
Also: If you've done VR development, you have marketable skills. Unreal Engine is C++, and learning the specifics of the engine isn't particularly hard. If you're willing to work under the low salaries and often poor management found in the gaming industry, that shouldn't be too much of a barrier.
There's also gaming-adjacent companies, like Epic, Unity, Roblox, Twitch, and so on.
It's all in-house code. So now the people laid off have to find new jobs. They don't have any of the buzzwords resume scanners want. Heroku? No. React? No. Unreal Engine? No. Unity? No. SpatialOS? No. WebAsm? No. Kubernetes? No. Docker? No. AWS? No. Javascript? No. Go? No. Rust? No? Android? No. IOS? No. Mobile? No. Tensorflow? No? C++? Yes. Maybe they can get a job fixing legacy C++ applications. Going to a company that has its own in-house technology is a real career risk today.