Problem with exporting Vrscene

I’m trying to export the scene to vrscene format but the file never saves.
This is the command that Im using:
vrayExportVRScene "c:\\max\\temp.vrscene" startFrame:0 endFrame:32
And I cant debug it since there is no error, its just the file not being saved.
This happens when I run 3dsmax from command line like this:
3dsmax.exe -q -silent -mip -mxs "script code goes here"
But if I run the vrayExportVRScene in normal 3dsmax it exports fine.

Does anyone have some idea, or how to get a more detailed log on why vrscene is not written to disk.

It could be a syntax error, for example not escaping the quotes around the output path in the command. Something like this should work:
3dsmax.exe -q -silent -mip -mxs "vrayExportVRScene \"c:\\max\\temp.vrscene\" startFrame:0 endFrame:32" c:\max\temp.max
The V-Ray log should be in %TEMP%\vraylog.txt. If it doesn’t contain anything related to the scene export, there’s probably a syntax error in the command.
Can you post the entire command if this doesn’t help?

Thanks for reply I solved the issue but I didn’t figure out why it happened, It turned out that the error is because of Deadline Slave, I was using deadline to call the command, updating deadline to last version fixed it.
The vrayExportVRScene was run from another script so I guess the quotes were not the problem

3dsmax.exe -q -silent -mip -mxs “include “some/script/on/network/location””

This is the log:
[2020/Sep/16|08:42:26] ================================================== ==========
[2020/Sep/16|08:42:26] Console created, V-Ray 4.10.02.00001 for x64 from Dec 17 2018, 14:54:50
[2020/Sep/16|08:42:26] ================================================== ==========
[2020/Sep/16|08:42:26] Compiled with Microsoft Visual C++ compiler, version 19.12
[2020/Sep/16|08:42:26] Host is 3ds Max, version 21
[2020/Sep/16|08:42:26] V-Ray DLL version is 4.10.02
[2020/Sep/16|08:42:40] Constructor entered (loading from file).
[2020/Sep/16|08:42:40] Setting default filter kernel.
[2020/Sep/16|08:42:40] Constructor done.
[2020/Sep/16|08:42:40] Loading from file.
[2020/Sep/16|08:42:40] Loading filter parameters.
[2020/Sep/16|08:42:40] Loading done.
[2020/Sep/16|08:42:40] Constructor entered (loading from file).
[2020/Sep/16|08:42:40] Setting default filter kernel.
[2020/Sep/16|08:42:40] Constructor done.
[2020/Sep/16|08:42:40] Loading from file.
[2020/Sep/16|08:42:40] Loading filter parameters.
[2020/Sep/16|08:42:40] Loading done.
[2020/Sep/16|08:42:44] Constructor entered.
[2020/Sep/16|08:42:44] Setting default filter kernel.
[2020/Sep/16|08:42:44] Constructor done.
[2020/Sep/16|08:42:44] Loading V-Ray plugins…
[2020/Sep/16|08:42:44] Export total time: 46.731 ms
[2020/Sep/16|08:42:44] Nodes: 0.000 ms
[2020/Sep/16|08:42:44] Meshes: 0.000 ms
[2020/Sep/16|08:42:44] Materials: 0.000 ms
[2020/Sep/16|08:42:44] Textures: 0.000 ms
[2020/Sep/16|08:42:44] Writing file: 0.000 ms
[2020/Sep/16|08:42:44] VRenderer destructor entered.
[2020/Sep/16|08:42:44] VRenderer destructor done.