Breaking character
In theatre (especially in the illusionistic Western tradition) and film, breaking character occurs when an actor fails to maintain the illusion that they are the character they are supposedly portraying. This is considered unprofessional while performing in front of an audience or camera (except when the act is a deliberate breaking of the fourth wall).