The only one who didn't know was George Lucas. We kept it from him, because we wanted to see what his face looked like when it changed expression--and he fooled us even then. He got Industrial Light and Magic to change his facial expressions for him and THX sound to make the noise of a face-changing expression.
Carrie Fisher (2012). “Wishful Drinking”, p.61, Simon and Schuster