The short answer is that the question has no single answer because "Survival" and "prosecutor" point to different games, and in the most likely reading—Dying Light 2: Stay Human's Survival mode or its "Survivor" mission—prosecutors are not a spawning enemy type at all; however, if you mean another game with a "Survival" mode that includes a prosecutor character or class, the answer changes, and that specific game and mode is not stated.
Why the Question Is Ambiguous Before It Is Answerable
You asked: "do prosecutors spawn in survival." That sentence can be parsed in at least three ways, and each leads somewhere different:
1: A game titled Survival — there are many small or indie games with that name, some with a "prosecutor" enemy, NPC, or boss. Without a specific title, edition, or platform, no spawn rule can be confirmed. 2: A "Survival" mode inside a larger game — for example, survival modes in horror, shooter, or sandbox titles. Whether a "prosecutor" spawns depends entirely on that mode's enemy table. 3: A genre shorthand — "survival" as in survival horror or survival crafting, where "prosecutor" might be a fan nickname for an enemy, a boss, or a role in a story mission.
Because no game title, platform, or version is given, the honest answer is: the condition that decides whether prosecutors spawn is which game and which mode you mean, and that information is missing from the query. What is answerable is the general principle games use and the closest well-known case, which I cover below.
The Closest Well-Known Case: Dying Light 2 and "Survivor"
The most common place players ask a question phrased like this is Dying Light 2: Stay Human, which has a "Survivor" mission line and survival-focused open-world play, and which is often discussed alongside its "prosecutor"-sounding NPCs and factions. In that game's established content:
There is no enemy type called "prosecutor" that spawns in the open world or in survival encounters. The enemy roster is made up of infected variants (biters, virals, goons, volatiles, and so on) and human factions (PK, Survivors, Renegades, and bandits). "Prosecutor" is not one of those spawn categories. NPC roles with legal-sounding titles exist in story context, but they are scripted characters tied to missions, not randomly spawning entities. A scripted NPC appearing in a fixed mission is not the same as "spawning" in the survival-loop sense. Spawning in this game is driven by zone type, time of day, noise/heat level, and story progress — not by a "prosecutor" flag. Nighttime dramatically changes which infected appear, for example, but it does not introduce a prosecutor.
So under this reading, the answer is no: prosecutors do not spawn in Dying Light 2's survival play because they are not a spawnable entity in the first place.
How Spawning Actually Works, and Why "Prosecutor" Rarely Fits
To see why the answer usually comes out "no" regardless of title, it helps to understand what "spawn" means mechanically.
Spawning is the game system creating an entity at a location according to rules: an enemy table, a wave definition, a zone population cap, or a scripted trigger. A "prosecutor" would only spawn if the developers put it in one of those lists.
There are three common cases, and they produce different answers:
Case A: prosecutor is a normal enemy. Then it spawns wherever that enemy's table says—often with level, biome, or difficulty gates. Answer: yes, under those conditions. Case B: prosecutor is a boss or miniboss. Then it spawns only at a fixed arena or trigger, not randomly. Answer: "spawns" only in the scripted sense. Case C: prosecutor is an NPC or story character. Then it does not spawn at all; it is placed. Answer: no.
Most games with a character called a "prosecutor" fall into Case C, because the word denotes a role in a legal or investigative story rather than a monster archetype. That is the key reason the general answer leans "no."
A concrete counterexample
Imagine a detective-themed survival game where the antagonist is a corrupt prosecutor who hunts the player at night. In that design, the prosecutor would be a Case A enemy with a night-spawn rule. Nothing about the word "prosecutor" forbids spawning—it is the game's enemy table that decides. This is why the missing title matters: the same word can be a story NPC in one game and a spawning stalker in another.
Meaning in Context: "Prosecutor" as a Word
It is worth separating the ordinary meaning from the game meaning, because confusion often starts there.
Everyday English: a prosecutor is the lawyer who brings a criminal case for the state. The verb is prosecute; the act is a prosecution; the office is the prosecutor's office. Example: "The prosecutor presented the evidence." This sense has no connection to spawning. In games: "prosecutor" is usually a role label borrowed from that legal meaning—an investigator, a rival, or an authority figure. It is rarely a species or class. Games that use legal vocabularies (Ace Attorney's prosecutors, for instance) treat them as named characters in scripted story beats, not random spawns. Register: "Do prosecutors spawn" is casual gamer register. In formal writing you would say "Do prosecutors appear as enemies?" The casual spawn is fine in gaming context and should not be read as a technical claim about reproduction or origin.
So even before the game is identified, the wording itself hints at the likely answer: a role-noun like "prosecutor" is more often a placed character than a spawned one.
Where the Answer Stops Applying
This answer stops applying the moment you name a different game. If you meant:
a specific indie title called Survival with a prosecutor enemy, check that game's wiki or enemy list—spawn rules are title-specific; a survival mode in a shooter or horror game where "prosecutor" is a boss, check the mode's wave or boss table; a mod or fan game, where spawn tables can be edited freely and "prosecutor" may be a custom entity.
In each case, the correct procedure is the same: identify the entity's category (enemy, boss, NPC), then read the game's spawn or encounter table or observe the mode directly. I cannot verify a specific title's current spawn table from here, and version updates can change encounter lists, so any precise claim should be checked against the version you are playing.
What Causes the Confusion
Three things drive this kind of question:
1: The word sounds like a monster name. "Prosecutor" has a menacing, authority-figure ring, so players expect it to be an enemy. It usually is not. 2: Survival modes reuse story assets. A character seen in a cutscene may later appear in a wave, which looks like "spawning" even when it is a scripted placement. 3: Different games share generic mode names. "Survival" is one of the most reused mode names in gaming, so a question without a title can match dozens of games with opposite answers.
Practical Way to Settle It for Your Game
If you want a definitive yes or no, supply the game title, platform, mode, and version. Then check, in order:
1: the in-game enemy or bestiary list (is "prosecutor" listed as a spawnable type?); 2: the mode's wave or encounter description; 3: community wikis and patch notes for that version, since spawn tables change.
Until then, the defensible answer is conditional: prosecutors spawn only if the specific game lists them as a spawnable enemy or boss; in the most commonly referenced survival context, they are scripted or absent, so the answer is no.