Anything that fits the bill, and there's a plotline that revolves around it, if not the main plot of the story. Any genre, any tag or rating.
End of the Magic Era Dominion’s End Heavenly Calamity Everyone Else is a Returnee The Invasion Day World’s Greatest Militia Worlds’ Apocalypse Online
Kumo Desu ga, Nani ka? @ So I'm A Spider, So What? Though it won't be revealed till much later. Highly rated and one of the most popular light novel in Japan.
The Last Science [SE version] The Last Science The emergence of magic in modern word. I suggest read SE version, it have same content but split into smaller chunks for easier reading and enjoy.
I think that Ex Rank Supporting Role's Replay in a Prestigious School might fit. It's not exactly 100% clear on it, though. Short version, MC lived in Korea, Earth, and played a game (seemingly a phone game) that got hyped up to, or beyond, Cyberpunk 2077 Levels, and crashed as hard, if not harder. The game was borderline unplayable, mostly because of "bugs" and hidden information. For example, when starting the game, you were assigned to a random character undergoing the physical portion of the school entry test. If you were in group 13, you ended up facing a combat challenge that nobody knew how to solve, due to a terrorist attack, potentially with the additional challenge of one of the people in the same situation betraying you mid-combat, if you last that long. Alternatively, if you enter through the special applications process, you have a reasonably high (if not absolute) chance of meeting one of the game's villains, who basically needs to be bribed to allow people into the school (and your character probably doesn't have any money). Both of which were seen as bugs, but aren't, because the game is a reproduction of an alternate reality that the MC was transported to after fighting the final boss of the game. As for why this is a world-on-the-verge-of-destruction, there's a few reasons. First of all, the villains of the story are leading the horrific deeds are doing so because they loathe the god of heavens, so there's implications there. Secondly, one of their actions in the game effectively can be compared to setting off nukes in fallout, in that it creates a whole bunch of monsters, kills thousands to millions of people, makes some areas unliveable, and poisons a whole bunch of people who would otherwise be able to help out the situation. No, it's not setting off actual nukes, and I'm not giving specific details, because that would be spoilers. It's mentioned by the latest translated chapter.