A millionaire YouTube star known as PewDiePie has used a racial slur while being live-streamed playing a video game.

Felix Kjellberg, a 27-year-old video blogger from Sweden who became YouTube’s highest-grossing star, called his online opponent a f****** n***** while playing a shoot-’em-up game called PlayerUnknown’s Battlegrounds.

What a f****** n****, he said while shooting a character.

Sorry, but what the f***? What a f****** a******, he added.

I didn’t mean that in a bad way.

This isn’t the first time the YouTuber has faced a backlash for his online rants.

Earlier this year, Disney and YouTube both announced they were no longer sponsoring his channel after some of his videos used Nazi imagery and anti-Semitic jokes.

One video featured two men holding a banner which read Death to all Jews, while another saw a man dressed as Jesus saying Hitler did nothing wrong.

He was also briefly suspended from Twitter for making jokes about joining Islamic State.

:: YouTube star PewDiePie slams ‘insane’ media

Now, some companies have vowed to stop PewDiePie from playing their games in his videos.

Sean Vanaman, co-founder of gaming company Campo Santo, tweeted he was filing a DMCA takedown of PewDiePie’s Firewatch content and any further future Campo Santo games.

He added: I am sick of this child getting more and more chances to make money off of what we make.

He’s worse than a closeted racist: he’s a propagator of despicable garbage that does real damage to the culture around this industry.

Mr Vanaman is urging developers to cut him off from the content that has made him a millionaire.

PewDiePie’s latest controversial video has been watched over six million times, and his channel has more than 57 million subscribers.

(c) Sky News 2017: PewDiePie: Gaming companies vow to block YouTuber over N-word use