UnityRemoteDesktopDuplication
UnityRemoteDesktopDuplication copied to clipboard
Failed to synchronize device Error 700
Hi,
i have troubles getting this project to work (using Unity 2020.3.25f1). I have 2 Computers connected via LAN. On PC A i start the Sender scene, on PC B i start Receiver. The IP and Port is correct and i see in the Server Status that the Receiver receives the Bytes from the Sender. But the image stays gray and i get this error message on the Receiver:
Failed to synchronize device (Error 700: an illegal memory access was encountered) UnityEngine.Debug:LogError (object) uNvPipe.uNvPipeDecoder:OnEnable () (at Library/PackageCache/[email protected]/Runtime/uNvPipeDecoder.cs:56)
Both Computer have NVidia cards with Nvenc
Would appreciate your help.
Best
It seems to be an error output from CUDA. I'm sorry, but I can't reproduce the environment on my end now and can't identify the cause. For example, if the Sender and Receiver are reversed, will the result be the same?
Strange, hmm i already tried it the other way around. I am using Geforce GTX 1660 Super on one PC and a GTX 1080 on the other one. Now i am looking for a solution with "asyncgpureadback" from Unity but the request crashes after about 800 seconds,.. very frustrating, cant get a nice video streamer working with Unity...
How about using the official WebRTC package?
- https://github.com/Unity-Technologies/com.unity.webrtc
UnityRemoteDesktopDuplication is just a simple PoC and has not been tested well (and I have no plan to improve this).