UiPath.Session.csharp.exe is used for session management (for unattended). It has a screenshot feature (saves the screenshots at C:\ProgramData\UiPath\SessionScreenshots) that’s used for troubleshooting in case something fails during session creation.
Can you try upgrade the Studio and Robot to 2025.0.161 from https://download.uipath.com/UiPathStudioCloud.msi and retry?
Do you have any firewall or antivirus that may think that UiPath.Session.csharp.exe is a virus?
Which are the exact steps to replicate that error?
Provide the UiPath Diagnostic Tool logs from the robot VM and mention the time when the issue occurred.