Before calling RemoteAction, I printed it on the console and confirmed that the parameters of the attachments were stored. However, when I output the debug log of the contro