There was nothing scripted about this.

E! News confirms that the cast and crew of the upcoming N.W.A biopic Straight Outta Compton experienced something that is, well, literally straight outta Compton when a scary (and very real) drive-by shooting occurred by the Compton courthouse where they were filming last week.

Authorities from the the Compton Sheriff's Department tell E! News that a male, who is not linked to the biopic, was hurt and transported to a hospital but is fortunately in stable condition. Police say it's unknown whether or not this incident was gang-related, but also tell us that an investigation is ongoing.

Filming has not shut down, and production will continue at a different location in Compton this week.