It looks like this might be "The Nether" featuring Jennifer Haley. From a review:
In Jennifer Haley’s drama “The Nether,” the time is the future, and someone is being interrogated about possible crimes committed in a shared virtual reality experience involving a Victorian theme, grown men and prepubescent girls (who don’t actually exist).
The play has turned out to be Haley’s biggest hit yet. Though it premiered in Los Angeles nearly three years ago, the unsettling thriller has caught on. After well-reviewed productions in London and New York, it receives half a dozen domestic productions this year, including at the San Francisco Playhouse, as well as several in Germany and Spain.
Promo video from one production
This analysis of the play provides further description of the plot:
Unfolding in contrasting, two-actor scenes that alternate between the gray, near future “real world,” and the vibrant virtual home, The Nether paces like the television police procedural format Haley consciously mimics (Rizzolo). Sims stands accused accused of “Solicitation. Rape. Sodomy. Murder,” as his accuser, Detective Morris, equates equates the activities in Sims’ realm with actions in the real world (Haley, The Nether Nether 6). Morris, an investigator representing the wider Nether community argues that his code is too sensual and real. She fears people abandoning the material world to become “shades,” like her late father. Sims suspects she wants his code for commercial gain, “You want my code…You want to sell it to Disney,” (31)Disney”. At the center of their arguments is Iris, a precocious nine year old resident of The Hideaway in Sims’ employ. Sims’ defense is that Iris is not really a child, but an adult engaged in consensual adult role-play, and his realm is properly registered (11). Morris counters that the Nether community’s policies changed, and the two engage in heated debate about identity, sex, and consequences. In alternate scenes Morris interrogates Doyle, a 65 year old science teacher who has a long history in Sims’ Hideaway. Morris hopes Doyle will lead her to Sims. She has a detailed account of activities in The Hideaway obtained by her inside agent, Mr. Woodnut (20). Using Woodnut’s report, Morris attempts to bully Doyle. She threatens to expose his activities in the Hideaway to his family. Doyle however intends to become a shade, 142 is ambivalent about exposure, and cares only about “keeping” Iris (10). Doyle’s emotional tether to Iris sounds very unsettling until it becomes clear that Doyle actually is Iris, and Morris is really Woodnut. The entire situation is a bizarre relationship tangle orbiting “something real,” which Morris believes is the only thing that proves love (36). Something real is somewhat nebulous, for Morris it is the void she carries of her father’s decision to become a shade. For Doyle, something real is a token representing when his life held meaning, a distinguished teaching award (56). Meanwhile, Sims connection is to a real sapling of a poplar tree in his garden (46). In the end Doyle commits suicide, after the detective obtains the information she needs to shut down The Hideaway, and banish Sims from the Nether (66).
Found with search terms of "stage play" "virtual reality" virtual atrocities"stage play" "virtual reality" virtual atrocities