I understand that video games dev and Web dev does not overlap but the developer field is more vast than just Web. For example embedded development uses a lot of C/C++ so knowledge would be transferable there.
I would also say that even though the engines or framework is not the same, surely there are human skills that can be transferred like managing a project, solving problems, algorithms, performance analytics and debugging.
But that’s only my theory and I have no experience on switching field like that