AWS Builder Center

Building Detective Heist Mastery: Immersive AR Crime Scene Investigation with Meta Quest 3 and Amazon Bedrock at AWS re:Invent 2025

How we built a four-phase AR detective game on AWS where every crime scene, suspect portrait, and piece of evidence is generated on demand — combining Claude for scenario synthesis, Nova Canvas for forensic imagery, and Hunyuan3D for real-time 3D fabrication, all delivered into a Meta Quest 3 headset via WebXR.


At re:Invent 2025, we strapped on a Meta Quest 3, walked into a procedurally generated bank vault heist, and picked up a vault mechanism that Hunyuan3D had fabricated from a text description minutes earlier. We matched it to a detective tool in a 3D forensic office. We queried a criminal database, read AI-generated witness statements, and dragged a suspect's card into an arrest box — a suspect whose portrait Nova Canvas had sketched from scratch, whose criminal history Amazon Bedrock Nova Pro had invented, and whose alibi Claude Haiku had helped classify against forensic evidence. Every word, every image, every 3D object: synthesised on demand.



The Challenge

A detective game in AR sounds compelling — walk around a crime scene, reach out and pick up a clue, examine evidence at arm's length. But try making that experience feel real across four sequential phases — evidence collection, forensic analysis, criminal database investigation, and suspect arrest — when every asset in every phase was generated by AI .
The problem compounds at each stage. The 3D evidence object a player picks up in the crime scene must match the forensic tool they use to analyse it in the office. The forensic report Nova Pro writes must be consistent with the scene description Nova Pro generated. The suspect Nova Canvas sketches must match with the description in the witness statement. Three different generative models, across four game phases, all producing output that must cohere into a single believable investigation. In flat 2D, cross-modal inconsistency is a visual glitch. In AR, where a player is physically standing in a room holding evidence they can rotate and examine at close range, incoherence is immediately immersion-breaking.



AWS Architecture


Frontend Distribution
Two CloudFront distributions serve the Meta Quest 3 browser: one for the React + A-Frame app, one for generated assets. The asset CDN is multi-origin — GLB evidence models route from the Hunyuan3D S3 bucket by default, while  images/*  routes to the Forensic Data bucket for Nova Canvas portraits.

Scene Generation

A Lambda invokes Bedrock Nova Pro to generate a complete scene manifest: story, suspects, evidence descriptions, and witness statements, stored in DynamoDB.
Evidence descriptions feed the 3D Evidence Generation a 3D Generator Lambda connects to Hunyuan3D on EC2 and uploads completed GLBs to S3.

Forensic Services

Two Lambdas power the investigation phase. Detective Tools handles live player queries — clue requests, evidence cross-referencing — via Nova Pro. Detective Analysis runs a two-stage Nova Pro pipeline: first a forensic sentence per evidence-tool pairing, then a structured  evidence → tool → finding  chain stored in DynamoDB and rendered as the Evidence Board connection graph. Splitting the calls lets tool prompts stay factually constrained while analysis prompts generate richer narrative.

Detective Services
Forensic Database queries a DynamoDB criminals table pre-populated with AI-generated profiles (height, hair, blood type, DNA, fingerprint), filterable by scene type and risk level. Forensic Images calls Nova Canvas v1 to generate a 512×512 pencil-sketch portrait per suspect — "Passport-size portrait, black and white pencil sketch by a forensic artist" — stored in S3 and served through the asset CDN.

Leaderboard
A single Lambda tracks scores and per-phase times —  evidenceCollectionTime ,  forensicOfficeTime ,  detectiveOfficeTime  — in DynamoDB. Score combines evidence completion rate (70%) and a time bonus, surfaced as a top-10 leaderboard with per-stage breakdowns.



Amazon Bedrock: Four Models, One Investigation

Detective Heist Mastery uses four models across its service groups, each selected for its strength in the relevant task.
Amazon Nova Pro v1 handles all heavy narrative and analytical intelligence: scene generation, witness statements, criminal profiles, detective tool responses, and the main forensic analysis chains in the Detective Analysis service.
Amazon Nova Canvas v1 handles visual forensic intelligence: generating the pencil-sketch criminal portraits displayed in the Suspects panel and Evidence Board. Each portrait is prompted to be generated as images that read as police artist sketches rather than photorealistic renders.
Claude 3 Haiku handles lightweight, latency-sensitive extraction tasks where speed matters more than creative depth. In the Detective Analysis service it extracts a forensic keyword from each analysis result (e.g. "Hair color", "Blood type", "Fingerprint pattern").In the Investigation Map service it generates optimal spatial layout for the Evidence Board's connection graph.
Hunyuan3D (via EC2-hosted Gradio interface) handles physical geometry: converting evidence descriptions into GLB models that players pick up, rotate, and examine in the Meta Quest 3 environment.
None of these models generate content in isolation — all prompts derive from the canonical scene manifest produced by the Scene Generator Lambda at session start. Nova Canvas receives the exact character description Nova Pro wrote. Hunyuan3D receives the physical object description Nova Pro constrained to geometric language. Detective Analysis Lambdas receive full scene context. Haiku receives structured excerpts for classification. Coherence is enforced by architecture, not by prompting.



Player Experience: Stepping Into the Investigation

Detective Heist Mastery demonstrated that a fully generative four-phase AR investigation — where every object, every portrait, every forensic report, and every database record is synthesised on demand using AWS serverless services.
Over two days at re:Invent 2025, 250 customers put on the Meta Quest 3 and chose their crime scene — a bank vault stripped of its contents, an art museum missing its centrepiece, a mansion with missing jewellery. Each one generated fresh: a unique backstory, unique suspects, unique evidence placed across the room. Players walked the scene collecting clues, then moved to the Forensic Office to analyse each piece with tools — magnifying glass, fingerprint scanner, UV light — matching evidence to findings in 3D. From there, the Detective Office: AI-generated witness statements, a searchable criminal database, forensic reports built from their own analysis. Finally, the Evidence Board — connecting the chain, naming the perpetrator, making the arrest. The system ran without interruption throughout, 60 FPS on Meta Quest 3, every scene unique, 100% availability across both days.
Players who expected a tech demo got an investigation. One attendee worked through the full criminal database — filtering suspects by blood type, fingerprint pattern, known associates — before making their arrest. They were right. "I actually felt like a detective," they said. "Not like I was playing a game — like I was solving something." The top requests: additional crime scenes and room-scale AR projection onto a real surface.



Applications and Future Potential

Multi-modal coherence in generative AI doesn't emerge from model capability alone — it requires deliberate orchestration, with every model working from the same anchored context rather than generating independently. Any application that needs text, images, and 3D geometry to cohere — training simulations, architectural walkthroughs, interactive museum experiences — can apply this same pattern.



Technical Resources




Conclusion

We started with a simple question: what if you could step inside a crime scene that nobody had ever seen before? By combining Bedrock Nova Pro for narrative and analytical intelligence, Nova Canvas for forensic portrait generation, Hunyuan3D for 3D evidence fabrication, and WebXR for AR delivery, we built a system where every crime scene is unique, every piece of evidence is AI-generated, and every investigation feels real enough to solve.
Any team with an AWS account can deploy Detective Heist Mastery with a single  sam deploy . All generative compute happens in the cloud. The headset just renders what arrives.



Built by Natasha Sah, JoonHyung Kim
Special thanks to the Builders' Fair team and our mentor Jane Ridge and everyone who stepped into the crime scene.



Authors

  • Natasha Sah— AWS Solutions Architect
  • JoonHyung Kim -AWS Senior Solutions Architect
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article