Ms. Jacobson, 34, now splits her time between Los Angeles, where she’s voicing Princess Bean in Matt Groening’s new animated series, “Disenchantment,” out this summer on Netflix, and New York, where “Broad City” is headquartered. During a call from the show’s writers’ room, in the midst of conjuring up Season 5 (the premiere date has yet to be announced), she talked about her walk on the dark side and being a woman in the comedy boys’ club. Here are edited excerpts from the conversation.

“6 Balloons” is your first dramatic role.

Yes, besides, you know, the day-to-day of living and breathing.

How did you find the confidence to take on such dark material?

I really trusted Marja and her vision of the film and the characters and the fact that she did go with Dave and me, both actors that are known for comedy. And the story is based on the real life of one of the producers, [Samantha] Housman. Sam was always on set with me, and I could check in with her: “What are you feeling now?” Because it was such a mix of balancing all these emotions — of being so disappointed and angry while trying to also present that everything was under control.

The movie reminds us that the opioid epidemic impacts every class.

I’m from the Philadelphia suburbs, a middle- or upper-middle-class area, and unfortunately, I can count a lot of people I have known from high school that have died from overdoses. It’s devastating. It’s also why I really wanted to get this part — because I don’t know another movie that’s talking about this specific thing.

What can we expect from Season 5 of “Broad City”?

We’re going to go back to summer months, which feels more appropriate for the show. Last season we shot in the winter, and it got darker in many ways. And now in Season 5, even more than in 4, it’s very much more serialized and intense, while still obviously maintaining comedy first. It goes deeper than we ever have in the friendship.