Star Trek Beyond just released a third official trailer, which is notably more somber than the film's preceding promos and features Rihanna's haunting new track, "Sledgehammer."
The soulful song and the significantly darker tone of the new trailer hit home with many of the film's actors, who recently suffered the loss of their friend and co-star, Anton Yelchin.
WATCH: New Trailer for 'Star Trek Beyond' Drops, Features Rihanna's New Single 'Sledgehammer'
The trailer -- released one week after the 27-year-old actor was killed in a freak car accident outside his home in Los Angeles -- and the Anti singer's emotional addition to the film's soundtrack were praised by the Star Trek cast on social media on Monday.
Zachary Quinto, who stars as Spock in the popular sci-fi epic, shared a message with Rihanna while posting a video of the Star Trek Beyond trailer, featuring her moody melody, to Instagram.
"After such an unimaginably sad week for our star trek family - @badgalriri brings some light into the darkness," Quinto captioned the clip.
WATCH: Zachary Quinto, Chris Evans, Justin Timberlake and More Co-Stars and Celebs Remember Anton Yelchin
Zoe Saldana, who plays Uhura, also shared a clip of the trailer to Instagram, and wrote in the caption, "Thank you @badgalriri, for a beautiful song during one of the most difficult times for our StarTrek family. We know Anton would be proud."
On Thursday, Saldana posted a touching tribute to Yelchin, sharing a smiling photo of the young actor and penning a heartfelt message in his memory.
"Your sudden and unexpected departure has left us all broken hearted. I woke up today feeling absolute gratitude that I had you as a friend and colleague," Saldana wrote in the post. "Your life has been cut short, but I will always tell everyone about you. You were kind, present, old souled, curious, brilliant, funny, humble, honest, and undeniably talent. Good bye Anton, it was an honor to have crossed paths with you."
RELATED: Zoe Saldana Remembers Anton Yelchin in Heartfelt Memorial
Several of Yelchin's Star Trek pals and many of his fellow actors shared condolences and memorials in the wake of his death, including Quinto, director J.J. Abrams, John Cho, Karl Urban, Kat Dennings, Justin Timberlake and countless others. Watch the video below for a look at some of the touching tributes.
Star Trek Beyond rockets into theaters July 22.