Picture in Picture Process Crashing on execution

When executing a process with PiP in a Cloud virtual machine apparently 100% compatible:

|Processor|Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz 2.29 GHz|
|Installed RAM|8.00 GB|
|System type|64-bit operating system, x64-based processor|

Sometimes it works and sometimes it crashes.
If someone has experienced the issue I would appreciate their help trying to identify the problem.
Thanks in advance.

Compare these two PiP types and choose the best for your configuration Robot - Technology Comparison

Then check the known issues for both of them Robot - PiP - Child Session and Robot - PiP - Virtual Desktop

Thanks for the answer.
I’m using the Virtual Desktop mode and I’ve already worked around the known issues. The problem here is about inconsistency, the process will work 50% of the times and the other 50% the virtual desktop will never start the process and crash.