Somehow, somewhere, something went horribly wrong on a cosmic scale.
Maybe it's a Negative Space Wedgie. Maybe the Butterfly of Doom flapped its wings once too often. The point is, the universe isn't behaving as it should, and this is not a good thing for our protagonists. Whatever the "flaw" is will almost always be very vaguely defined, typically by means of You Cannot Grasp the True Form. Just thinking about might cause a Brown Note-like effect.
Whatever it is, it's almost always causing the world to become more crapsack. If the "error" is personified, it will usually be an Eldritch Abomination. Correcting it may be a goal of the protagonists, but sometimes whatever it is is so far outside their ken that it's untouchable by them.
Contrast Cosmic Keystone, something necessary for balance and stability in the cosmos. The Cosmic Flaw may have been created from weakening or removing said keystone, the result of Upsetting the Balance, a Reality-Breaking Paradox, or The Death of Death. The Reality Warper may fix or cause this. May sometimes happen because God Is Flawed and He made a mistake. The Cosmic Flaw may involve Merged Reality and/or All of Time at Once.
- The Idea of Evil from Berserk works something like this, with the twist that it was actually created by humanity. Essentially, human belief that there must be something wrong with the universe for the concept of suffering to exist caused this Eldritch Abomination to be Clap Your Hands If You Believe'd into existence for the express purpose of being that wrong thing.
- The Big Bad of Batman (Grant Morrison), Doctor Hurt, claims to be "the hole in things" and "the piece that never fit." It's eventually revealed that he's not quite that bad, though he is a Humanoid Abomination.
- In Emperor Joker, the Joker has tricked his way into receiving Mxyzptlk's reality-warping powers and remade the world in his image. Some people, primarily Superman, feel that there is something fundamentally wrong with their new reality. As they meet more powerful beings resisting the Joker's influence, it is revealed that as he pulls more and more strings, Joker will begin unraveling the very fabric of existence.
- Darkseid becomes one of these in Final Crisis; after his body was killed by Orion, he fell back in time and became a "black hole at the base of creation" that threatens to consume the entire multiverse. The series' other villain, Mandrakk, can be thought of as a metatextual version of this, as Word of God says he is essentially the personification of negative trends in the comic book industry itself.
- Infinity Wars (2018): In Secret Warps, a flaw in the warped reality causes it to start gradually falling apart, resulting in the already merged characters being merged further. It eventually turns out the flaw is Stane Odinson, the merger of Ezekiel Stane and Loki, which failed because Loki avoided being merged in the first place. Once Stane is properly merged with another being, reality stabilizes.
- The plot of Marvel: The End turns out to center around one of these, created when Wonder Man first came back to life. These unexplained resurrections were actually the universe trying to correct the balance between good and evil, but over time, the inconsistencies this created would pile up, threatening the universe with annihilation. Thanos ended up using the omnipotent powers he had acquired from the Heart of the Universe to correct the flaw... but not before ensuring that no one will ever remember that he did so.
- In the Grand Finale of New X-Men, set in a Bad Future, the Stepford Cuckoos make frequent reference to the fact that reality wasn't "supposed" to have gone down that path, and that there are "holes" in existence. In the final issue, the "hole" is revealed to be Cyclops quitting the X-Men; the Phoenix, which "burns away what doesn't work", sets things back on track.
- A Hollow in Equestria utilizes this trope to explain why the story has broken from the main canon/timeline to such an extent. Discord admits that he can't fix this problem, as it exceeds even his capabilities.
- This is the whole premise behind the mega-crossover fic The Infinite Loops. Yggdrasil, the World Tree, is actually a gigantic computer, and each of its branches is a different reality. It so happens that that computer has crashed so badly that the gods — better known as Admins — are trying to fix it, and the only way to buy time is to have people in the various settings repeat their lives over and over and over again... and yes, the system is susceptible to viruses.
- We Are All Pokémon Trainers:
- Glitch Pokémon as a whole, while not necessarily malevolent, are living flaws in the universe capable of warping it around them.
- When the Mobius Society interrupts a ritual led by Sol and Ton, as part of their plan to fuse all universes which kickstarts the Entralink Arc, a crack is left in the sky as a result of the multiversal disturbance, and beings from all over the multiverse start showing up.
- In Dogma, reality as we know it hinges on God being infallible. In short, you can't prove God wrong because doing so would end the world. Which becomes a driving force in the plot when fallen angels plan to use a loophole in Catholic dogma to overturn their banishment.
Metatron: If they get in, they will have reversed God's decree. Now, listen closely, because this bit's very important. Existence, in all its form and splendor, functions solely on one principle: God is infallible. To prove Him wrong would undo reality and everything that is. Up would become down, black would become white, existence would become nothingness. In essence, if they're allowed to enter that church, they'll unmake the world.
- The main conflict of Spider-Man: No Way Home is kickstarted when a botched spell to make everyone forget Peter Parker's identity interferes with reality. Doctor Strange manages to keep the imperfect spells locked in a magic box, preventing the universe from tearing itself apart as he finds a way to reverse it, but bad news: it's already managed to displace villains from alternate realities — all of whom knew a "Peter Parker" — and cause chaos. The Green Goblin ends up destroying the box and reality begins fully collapsing from the weight of its new multiversal "visitors" — it's only until Peter decides to complete the amnesia spell that everything is retroactively corrected and reality returns to normal.
- In Time Bandits, the dwarves are using holes in creation to leap through time and space as robbers. It leads ultimately to bad things for them.
- The Belgariad: Basically, a star died in the wrong place. This caused a chain reaction that destroyed an entire galactic cluster outside of schedule. The result was that the purpose of the universe, the force of destiny, was divided into two opposing awarenesses. The contention between them causes everything that happens in the series.
- This is the basic premise of The Dark Tower. The titular Tower is the center of all existence, and it is starting to malfunction, which causes the different realities to drift, blend, and intersect at random intervals. Thus, the main characters are on a quest to find the Tower and repair whatever is wrong with it.
- Near the end of Death's End, it's revealed that the early universe consisted of ten dimensions rather than three, and the speed of light was near-infinite. Unfortunately, over billions of years, Sufficiently Advanced Abusive Precursors have been using incomprehensibly advanced weapons to create Negative Space Wedgies that are reducing the dimensionality of the universe, and the speed of light itself, to destroy their enemies. Eventually, the universe will be reduced to two dimensions, and then one, and then... well...
- In Elantris, the catastrophe known as the Reod basically inflicted The Magic Goes Away in the mage-city of Elantris, turned the demigod-like inhabitants into zombies and created a huge chasm just for good measure. It turned out that the new chasm caused everything, since the Elantrians' Hermetic Magic is based on the country's geography, which the chasm's appearance altered.
- In Funny Business, when Jeanette is upset about her poor performance in a math test, she alters mathematics to make the answers she gave the correct ones — physics soon follows suit, and a black hole approaches the solar system.
- High School D×D: In volume 3, an enraged Kiba unlocks the Balance Breaker form of his Sacred Gear "Sword Birth", and performs the impossible act of creating a holy sword out of demonic energy. This confirms some of the older characters' suspicions that both God and Satan are long dead, and the laws of reality are no longer operating as intended. In fact, Sacred Gears (originally created as a way for God to empower human champions) were never intended to be Evolving Weapons at all, and the ability of some of them to kill gods is likewise a relatively new development.
- In Revan, Nathema (formerly Medriaas) is described in these terms. An entire planet that is utterly devoid of the Force. Nothing can live there, and what does exist there is utterly inhuman and incomprehensible. Simply being close to it can cause Jedi to pass out from shock at the sudden absence of the Background Magic Field that is otherwise omnipresent in the galaxy, and even people who aren't force sensitive feel discomfort because the void is that empty. It was caused by a ritual of such power and horror that it ripped the force itself out of everything on the planet.
- Tolkien's Legendarium: Middle-earth's cosmic flaw is named Morgoth. As the resident Satanic Archetype and God of Evil, he is, directly or indirectly, the ultimate source of everything that ever went wrong in the world and ever will, starting from when he interfered with its creation and tainted everything that came after with his essence. Fortunately, according to Middle-earth's apocalypse myth, Morgoth will eventually be killed and the world remade without his corrupting influence.
- Doctor Who has the Time Cracks, which are cracks, in time, that obliterate people and things from the timeline when exposed to them. In "The Pandorica Opens", it's revealed that these cracks were formed from the TARDIS exploding after hitting a burst of time energy and overheating, but what caused the burst in the first place is never directly explained.
- In The Hitchhiker's Guide to the Galaxy (1978), Ford Prefect and Arthur Dent find themselves two million years in the past of Planet Earth — which is a massive supercomputer devised, at mind-boggling-cost, to figure out the Question to the Answer of the existence of lifekind. Arthur realises they are at that point on the program where discovering The Answer is imminent. The Answer is of course Forty-Two. By a feat of lateral thinking, they discover the Question.
Ford: What do you get if you multiply six by nine?
Arthur: Six by nine. Forty two?
Ford: That's it. That's all there is.
Arthur: I always thought something was fundamentally wrong with the universe.
- The backstory of Demon: The Fallen describes the original universe as a perfect machine, with every natural law, concept, being, and atom humming together in harmony and beauty without parallel. The one flaw was that mankind seemed... unable to gain sapience on their own. Long story short, God got angry that Lucifer forced the issue by giving mankind sapience, and so God "brushed" the world with his presence, which was the equivalent of hitting a car with a wrecking ball. Sure, the universe survived, but in a broken, imperfect and continually decaying state that can't ever self-repair to its former state.
- Bloodborne: After you kill Rom, a former scholar of Byrgenwerth who has been transformed into an eldritch spider-caterpillar keeping Yharnam's fabric of reality stable, the illusion of the already gothic horror world breaks and the night sky turns a bright purple as all the remaining survivors you haven't saved go mad or turn into monsters.note
- The Elder Scrolls:
- The series has events known as "Dragon Breaks", which are this trope crossed with a Time Crash. Essentially, the draconic God of Time, known by many names but most prominently as Akatosh, is "tampered with" so to speak, causing him to temporarily "forget" the true course of historical events that happened for a brief period of time. As a result of this, all possible events that could have happened during that time, even mutually exclusive ones, will happen, though they might not have happened "fully" either, so to speak. They typically involve mortals attempting to use something of divine substance and cross over with Reality Is Out to Lunch. This most prominent Dragon Break occurred in the 1st Era, when the Maruhkati Selectives, an extremist sect of the already extremist anti-elf Alessian Order, carried out a ritual in attempt to purge Akatosh of the elven aspects of the mythological basis that Akatosh was based on, the Aldmeri golden eagle god, Auri-El. For the next 1008 years, during an event that came to be known as the "Middle Dawn," bizarre and impossible events occurred during this time; people gave birth to their own parents, some sources mention wars and major events which never happened according to other sources, the sun changed color depending on the witness, and the gods either walked among the mortals or they didn't. How could they measure that period of time? They used the phases of Nirn's moons, said to be Lorkhan's decaying "flesh divinity", to measure time as they were not affected by the event. Even the Elder Scrolls themselves cannot rationalize the conflicting events of the Middle Dawn. When the Scrolls are attuned to that time period, their glyphs are said to simply disappear.
- One of these Dragon Breaks was used to avoid Cutting Off the Branches of Daggerfall's multiple endings. Essentially, all seven of them — even mutually exclusive ones — came to pass. Later games mention this phenomenon as, "the Warp in the West."
- Dagoth Ur, the Big Bad Physical God of Morrowind, is essentially a living Cosmic Flaw. He's using the divine powers he channels from the heart of a dead god to twist his followers into Body Horror abominations and spread a magical disease. Further, very much steeped in dream-imagery as he "sleeps awake" at Red Mountain. "The Dreamer Is Awake" is often found scrawled by the mad cultists in their strongholds. To further get into esoteric "lore speak": The implication is that Dagoth Ur has discovered an unspeakably dangerous middle-ground between CHIM, Amaranth and Zero-Sum where he exists in a godlike state because of his awareness of Anu's Dream but, unlike CHIM where he exists as one with it and maintains his own individuality, Amaranth where he exits the Dream to make his own, or Zero-Sum where he simply fades into the Dream, Dagoth Ur's twisted, traumatized and broken mind is being imprinted on the Dream of Anu. Through Corprus, the manifestation of Dagoth's will, he is turning Anu's Dream into his own.
- Fate/Grand Order: The "Singularities" are occurrences in certain locations and time frame, where the history of the world is being threatened (usually due to an outsider's interference). The prologue has the protagonist being sent to the Singularity in Fuyuki, 2004 AD to fix the events within, before 7 other, bigger Singularities appear; thus the quest for saving the human history — the Grand Order — began. In the end, the Singularities are corrected, and the Big Bad behind them all is defeated; but some time later, 4 smaller Singularities pop up and the protagonist has to fix them too.
- Mega Man Battle Network presents virtual versions:
- The Final Boss of the 2nd game is a living aggregate of computer bugs that come to life and threaten to overload the Internet's servers called "Gospel".
- The Final Boss of the 3rd game is the faulty "alpha" version of the Internet that, when released, threatens to consume the whole current internet like an amoeba, aptly named "Alpha".
- In the Myst series, the D'ni civilization was capable of using the proper materials and language to write Linking Books to other worlds they called Ages. This was a laborious and potentially dangerous process, however, because a badly-written Linking Book could link to an Age too unstable to exist, or which appeared stable for a moment before collapsing. Gehn in particular had the bad habit of haphazardly copying text from other Ages to make his own, which meant his Age of Riven suffered from a fatal instability, manifesting in a "star fissure" in the ground that opened into space, waiting to consume the entire Age. The plot of Riven therefore has Atrus send you into his father's Age to rescue its inhabitants while he stays behind in D'ni, writing constantly to keep Riven from collapsing for as long as possible.
- According to Word of God from the makers of Shin Megami Tensei, a flaw in the universe turned God evil. No more detail has been given, and indeed the "flaw" has never been mentioned in the games themselves, which has led some fans to speculate that the statement was an I Meant to Do That designed to make the games more appealing to Western audiences.
- Wandersong: The world is ending and it's because the Overseers are becoming corrupted after living so long in an increasingly discordant universe. In short, the flaw in the world is that it’s grown old and is now sick and dying, and it’s up to The Chosen One to make things right. To add to this, the job of the Chosen One isn't to heal the Overseers and save the world, but rather to kill them as smoothly as possible before their corruption overtakes them and makes them monstrous shells of their former selves, and by killing them, hasten the world to its final dissolution so the creator-goddess Eya can make a new one. If left unchecked, they'll cause significant amounts of destruction and suffering in their wake before dying anyway, which will only make the Hero's job harder.
- Awful Hospital: The villains are invoking this trope by attacking the fundamental concepts of "sickness" and "health" across The Multiverse of the Perception Range. The Hospital, which embodies the concept of medical care, is falling apart, while Earth suffers a full-fledged Zombie Apocalypse. This turns out to be an Assimilation Plot to subsume the entire Range with an impossibly virulent "alpha malady", using the heroine's infant son as the main infection vector.
- The main ongoing plot of Goats, when it remembers to have a plot, revolves around the heroes trying to fix the buggy software code which the multiverse runs on. If it's left unfixed, all of existence will crash on December 2012.
- In Homestuck, it's revealed that the creation of our universe was rushed and mishandled (they were on the clock and one of the people who were supposed to do it didn't want to), and as a result, it has cancer, which apparently comes in the form of Physical God Omnicidal Maniac Jack Noir.
- The titular misfile is an error in reality that changes the lives of several people. Subverted, however, in that most of the affected people's lives have improved because of it, and the only person who really considers it a problem is Ash.
- Book 2, Hell High, involves a second and far greater misfile created after the angels running reality allied with demons. They accidentally overloaded reality when comparing notes, and now Hell can produce human children.
- The Order of the Stick: The Snarl was created due to the gods' disagreement of how the world should be. After the Snarl destroyed their world, they created another world to contain it, but this new world was not perfect either, and over time, cracks ("rifts") started to appear in the fabric of reality. This has happened billions of times, because the gods who created the Snarl had four "quiddities" between them, but it immediately slaughtered the Eastern Pantheon, the only source of green quiddity — meaning that it is literally the realest thing in existence, as every world created to contain it since then only had three.
- Schlock Mercenary: At one point, there was a minor distortion of teraport mechanics... which turned out to be a symptom of the Milky Way being pinched off into its own little universe, and then slowly destroyed from the inside out. It came very close to destroying the whole galaxy and would have if it weren't for a bizarre loophole in the physics of the anomaly.
- Atop the Fourth Wall: Lord Vyce states that the Entity originated as one of these — a glitch in his universe, that went on to consume it, before moving on to try and assimilate and consume The Multiverse. It turns out to be a literal glitch, too — specifically, Missingno.
- In Fine Structure, whenever a "super science" is used a few times, the Imprisoning God erases the science from the universe itself. For an early example, an entire teleportation research building is sabotaged to teleport itself deep underground embedded in rocks along with all the researchers inside, and then teleportation became impossible.
- The Amazing World of Gumball: Played for Laughs in "The Job", in which Richard gets a job delivering pizzas. The very concept of Richard being employed is so unnatural that reality starts breaking apart all around him; normalcy is only restored once he gets fired.
- "Time Keeps On Slipping": Stealing chronotrons causes time itself to break apart. Time starts skipping forward at random times, threatening to end the universe itself.
- "Bender's Big Score": Over-use of the Time Code to get away with temporal paradoxes eventually creates the Anomaly, a tear in the fabric of reality. The sequel movie reveals that it's a gateway to another universe where Yivo lives, inaccessible by robots or electrical devices, and what shklee uses to invade the regular universe with via tentacles.
- The Grim Adventures of Billy & Mandy: The episode "My Fair Mandy" focuses on getting Mandy of all people to smile. When she finally does, reality itself begins to fall apart, which causes the episode's narrator to scream out:
Lord Raven: You fools! You messed with the natural order!