exportDepthAndMask command not working via console (works in GUI)

I’m encountering an issue when attempting to export depth and mask images using the -exportDepthAndMask command via the console.The command consistently fails with an “Access denied” error.
However, when performing the same operation through the GUI, the export completes successfully.

What I’ve tried:

  1. Verified write permissions for the export folder → no issues
  2. Changed output folder → same error

Details:
OS: Windows 11 Pro 24H2
RealityCapture Version: 1.5.1.118081 RC

Could you please advise on how to resolve this issue or if there are any known limitations or requirements when using this command in the console?

Thank you for your time and support.

Best regards,

Hello @yyouzhen
This is a known bug and we are working on a solution for it.
For now you’ll need to use also the optional parameters for export (path and params.xml file).

Hi @OndrejTrhan ,
This solution worked. Thank you very much!