Mayabatch.exe does not exit in Maya 2023 or Maya 2022

Hi,
I am using a simple bat command in the powershell:
D:\Autodesk\Maya2023\bin\Render.EXE -r vray -proj M:\Methan\B03\1_Maya -threads 40 -s 0 -e 4 M:\Methan\B03\1_Maya\scenes\test_render_v01.ma
D:\Autodesk\Maya2023\bin\Render.EXE -r vray -proj M:\Methan\B03\1_Maya -threads 40 -s 5 -e 10 M:\Methan\B03\1_Maya\scenes\test_render_v01.ma
PAUSE

Vray renders the first package, but the bat does not start the second package. It just stops there:

[2022/May/4|18:25:29] V-Ray: Moving hair segments: 0
[2022/May/4|18:25:29] V-Ray: Successfully written image file “M:/Methan/B03/1_Maya/images/test_render_v01/test_render_v01.0004.png”
[2022/May/4|18:25:29] V-Ray: Total frame time 0h 0m 0.9s (0.9 s)
[2022/May/4|18:25:29] V-Ray: Total sequence time 0h 0m 5.6s (5.6 s)
[2022/May/4|18:25:29] V-Ray: Render complete
[2022/May/4|18:25:29] V-Ray: ========================
[2022/May/4|18:25:29] V-Ray: Clearing exporter memory…
[2022/May/4|18:25:29] V-Ray: Total time clearing exporter memory 0h 0m 0.0s (0.0 s)
Scene M:\Methan\B03\1_Maya\scenes\test_render_v01.ma completed.

The CPU is idle the first 4 frames where rendered.
The scene is just a sphere, plane and spotlight …

The same scene rendered with maya software does render through

Windows 10 Pro
V-Ray 5 for Maya, update 2.2
(v5.20.02, revision 31396 from May 2 2022)

The problems began afther I upgraded from maya 2021 and vray 4 to maya 2022 and vray 5 at the same time.
I do have this problem on multiple fresh installed machines …

THX in advance
Cheers Christian

No help, but the same happens here with Maya 2022 + VRay 5. Seems that Autodesk needs to fix it.

This is somehow related to Maya 2022 and Maya 2023 and not V-Ray. Maya 2020 with V-Ray 5 seems to work fine. It is something on the Autodesk side.

I feel like I reported it before.
https://forums.chaos.com/forum/v-ray-for-maya-forums/v-ray-for-maya-problems/1135952

Try it with ARNOLD and bifrost unloaded.
If that solves it, please report it in this thread.

Hi thanks for the tip, i was having similar issues in deadline, the render would finish save out the image, but then would just hang and not exit, This ment that the next render would never start with out manually finishing the current task in deadline. Uninstalling arnold has resolved this issue for me

Thanks Yuji. Unloading Arnold did solve it for us also.