'Unbroken' star Miyavi threw up in front of Angelina Jolie.

The movie - which is set in a Japanese prisoner of war camp during World War II - was the musician's first Hollywood film, and he admitted the unfortunate incident occurred because he was so nervous about shooting his scenes as torturous sergeant, Matsuhiro Watanabe.

The 33-year-old star admitted: ''I literally threw up.''

Although the 39-year-old actress - who directed the film - was on hand to comfort the rocker by urging him to calm down, he confessed it didn't ease his anxiety and he ended up vomiting again after returning to the film's set.

He told New York Post newspaper: ''But Angie knows how actors feel. She said, 'Just be yourself. Accept yourself.' I got back to the set . . . and I threw up again.''

The film follows the story of Olympic athlete Louis Zamperini, played by Jack O'Connell, who was conscripted into the army before being captured in Japan, and Miyavi previously said it was difficult to deal with the harrowing scenes because it's such an upsetting part of his country's history.

He explained: ''I didn't want to be just a bad guy. I wanted to put humanity in this role. [Matsuhiro] was both crazy and sadistic, but also weak and traumatised.

''It's a story that is still painful for my country and after filming some of the more violent scenes, I couldn't stop crying.''