"I texted him immediately," the 'Star Wars' actor said of contacting the filmmaker after learning about the incident.