desktop-duplication-sample
desktop-duplication-sample copied to clipboard
Running build on the pc without Unity 2018 installed results in a blank texture
Hi, I have an issue - code is running smoothly on 2 pcs with Unity3d 2018 installed, and is showing bland texture on machines without this version of Unity. Build is exeactly the same, pc's are simmiliar in terms of software, hardware and drivers. Any tips how to debug it ? Thanks !
I honestly don't have any experience with Windows or DirectX outside of this quick PoC which I made to help someone get started with another project. Maybe one of the assumptions from the "hacks" in the README is violated.
I'd probably start by making sure none of the d3d calls are returning errors. Maybe apitrace could tell you this? Also the code assumes DirectX11 without checking and wasn't tested on DX12.
I second this, doesn't work if Unity isn't installed on the machine. :)