Shot in Cuba and inspired by the Brazilian crime epic “City of God” and Prince’s “Purple Rain,” “Guava Island” does not ultimately feature much new music from Childish Gambino — or any singing from Rihanna. The movie opens with a breezy unreleased number from Glover (“If the world ends/I think I wanna die with you”) and has elements of another song with the lyrics, “Maybe the sky will fall down on tomorrow/but one thing’s for certain baby/we’re running out of time.”

It also incorporates alternate versions of recent Childish Gambino singles like “Summertime Magic” and “Feels Like Summer,” along with “Saturday,” which Glover debuted on “Saturday Night Live” last year (“God, this 9 to 5 just keep on killing me,” he sings). In one scene set in a factory, another character tells Deni that he hopes to save enough money to make it to America. “It’s different there,” the man says. “I heard people are their own bosses.”

Deni responds: “This is America. Guava’s no different than any other country,” adding, “America is a concept. Anywhere where in order to make yourself rich, you have to make someone else richer is America.” He then leads a choreographed dance to the song that mirrors some of the music video.

At Coachella on Friday night, Glover — who has thrown his own festival, Pharos — did not make a show of plugging “Guava Island,” though he did incorporate tropical imagery and sounds into his set. For one unreleased song, he cleared a section in the crowd to scream over a cacophonous burst of complex drum rhythms, bathed in almost-apocalyptic red lights. He also performed the still-unreleased track “Human Sacrifice,” which debuted in a Google ad during the Grammy Awards in February.

Glover was overcome by emotion onstage while discussing the deaths of his father and the rappers Mac Miller and Nipsey Hussle. “What I’m starting to realize is all we really have is memories at the end of the day,” he told the crowd. “All we are really is like, data — you pass it on to your kids, you pass it on to your friends, your family.”