Depends on the circumstances, but mostly yes, if it is a white actor playing a non-white character.
Casting a white actor in a non-whit role reinforces white hegemony over the film/tv industry and it also marginalises non-white actors (for example it is already hard enough for South or East Asian actors to get decent roles, but seeing white actors play Asian characters just makes it all that worse), often forcing them into roles that are pure racist stereotypes.
White actors just don't feel the pressure, therefore casting non-white actors for white roles is perfectly OK most of the time. 73% of all roles are White anyway, it's not like Colin Farrell is only cast to play a Leprechaun or David Cross, a native of Atlanta, has no problems getting roles other than that of a Confederate soldier.
You forgot the current internet-exploding racial casting change, Netflix announcing they would cast a "black or asian" actress as Ciri for the Witcher series. The dorks are so riled up, I wouldn't even be surprised to see a DDoS attack coming their way.
In the case of The Witcher, I can't speak for dorks, but some critics have a reasonable point.
That game is created by a Polish game company, and was very intentionally made to portray a medieval Polish setting with uniquely Polish traditions, themes, and myths. It was clearly intended as an adaptation of old world Polish culture, not a celebration of modern multiculturalism. In a piece such as that, changing the race of a character for no valid aesthetic reason but just to satisfy some diversity quotient could be seen as a compromise of the vision of the original work.
How on earth is the vision of a completely fictional world compromised by adding a little variation of skin tone? If the audience accepts fictional geographies, magic, monsters, mythological and fairytale elements, is it so much for them to accept someone who happens to be not pearly white? Were vampires, dragons, elves, child-eating swamp hags all over Old World Poland? Were there cat-eyed, sterile, white-haired, emotionless monster hunters roaming around 13th century Krakow?
Did CD Projekt Red cause trigger the precious fans by having mythological beings speak with a Welsh accent in Witcher 3? I don't think anyone spoke with a Welsh accent in Merry Old White Poland.
Why is it the only thing that ever triggers these overwhelmingly white male snowflake audiences if there are, women or, horrible dictu, people of colour introduced to their precious little white male fantasies?