FIFA president Sepp Blatter praised AC Milan midfielder Kevin-Prince Boateng on Monday for displaying courage when he walked off the pitch last week in protest at racial abuse.
-AC Milan players walk-off pitch after racist chanting during friendly
However, the head of the world governing body said that such gestures were not a long-term solution to the problem.
"It is praiseworthy but it cannot be the solution in the long term, we have to find other solutions to get to the root of the problem, otherwise such stands will be made in isolation and will get lost.
"Football must not separate people."
Boateng, who played for Ghana at the 2010 World Cup, took his shirt off and walked off the pitch after being racially insulted in a friendly against a lower tier side.
The other Milan players followed him and the match was abandoned.
AC Milan players walk-off pitch after racist chanting during friendly
Messi wins World Player of the Year for fourth time
Photos: Fatherhood hasn't slowed record-breaking Messi
FACTBOX: Ballon d'or winner Lionel Messi
Walking off during match no solution to racism: FIFA chief