View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 2022.3.50 or later
- Package size
- 77 KB
- Files
- 22
- Favorites
- 3
- Views in the past week
- 12
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $24.49 on
Keywords
Murder Mystery Generator - Detective Cases, Clues & Suspects
Procedural murder mysteries with exactly one answer. Suspects, a timeline, motives, and statements where exactly one person is lying. Deterministic, art free, full C# source.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 9
Murder Mystery Generator - Detective Cases, Clues & Suspects screenshot 1
About this asset
Generates murder cases that have exactly one answer.
A clue is a predicate over suspects. A case is solved when the evidence leaves one person
standing, and every case is checked before you get it. One that fails is rebuilt.
What it does
- Evidence on three axes: what the killer was like, where they were, what they wanted
- A timeline everyone moves through, so an alibi is something a player can check
- Statements where one suspect lies, and every contradiction contains the culprit
- A difficulty slider that measurably changes how much evidence a player must combine
- Red herrings that rule nobody out
- Rebuilds from a seed, so a player can report a broken case by number
What's included
- Case Simulator that generates hundreds of cases and checks every one
- Setup window, inspectors, self building demo, full C# source
Requirements
- Unity 2021.3 or newer. No third-party SDK. TextMesh Pro not required.
Support
- [email protected] (documentation is included in the package)
From the publisher's Asset Store listing.
Technical details
Pure C# with no third-party dependencies and no bundled DLLs, split into Runtime, Editor and Demo assembly definitions under the FavenGames.MysteryGenerator namespace. Render pipeline independent across Built-in, URP and HDRP because the package is logic only with no shaders or textures, and it works the same in 2D and 3D. Generation is a plain function call rather than a component, so it runs off the main thread, in a build, or in a test, and nothing needs to exist in a scene. Every case is validated by CaseAnalyzer before it is returned: the evidence must leave exactly one suspect, that suspect must be the culprit, exactly one statement must be false, and every contradiction between two statements must involve the culprit. Cases that fail any of those checks are discarded and rebuilt. The same seed and settings reproduce a case exactly, down to the wording of each statement. Content is authored as ScriptableObjects referenced by stable id, or built in code through MysteryBuilder for procedural content, mods and tests. Timeline, motive and statement layers are individually switchable, and turning one off produces a leaner case rather than a broken one. Authored in Unity 2022.3 LTS, minimum 2021.3, compatible with Unity 6. Documentation is included in the package files.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2022.3.50f1 | Compatible | Compatible | Compatible |
As listed on the Asset Store.