Spacey's appearance came as a surprise as he was not required to attend the hearing and has stayed away from the courthouse except for a brief hearing in January, which he also tried to avoid.
The 59-year-old former "House of Cards" actor, who has pleaded not guilty to a charge of indecent assault and battery, did not comment as he walked in with his lawyers. Spacey faces up to 2 years in jail if convicted.
It's the only criminal case that has been brought against the two-time Oscar winner since his career fell apart amid a flurry of sexual misconduct allegations in 2017.
The case first came to light that year when former Boston TV anchor Heather Unruh said Spacey got her son drunk and then sexually assaulted him at the Club Car, a popular restaurant and bar on the resort island off Cape Cod
Unruh's son told police that he wanted to get a picture with Spacey and went over to talk to him after his shift ended at the Club Car, where he worked as a busboy. The man said Spacey bought him several drinks and tried to persuade him to come home with him before groping him for about three minutes.
The accuser told police that he tried to move Spacey's hands, but the groping continued, and he didn't know what to do because he didn't want to get in trouble for drinking. The man said he fled when Spacey went to the bathroom.
Spacey's lawyers have called the allegations "patently false" and accused the man of lying in the hopes of making money in a civil case against Spacey. They argued that the two engaged in nothing more than "consensual flirtation" and questioned why, according to the man's story, he did not object or try to move away if he was being assaulted.
Judge Thomas Barrett has ordered the Club Car to hand over any surveillance footage taken between 5 p.m. July 7, 2016, and 3 a.m. July 8, 2016.