desktop-duplication-sample icon indicating copy to clipboard operation
desktop-duplication-sample copied to clipboard

Running build on the pc without Unity 2018 installed results in a blank texture

Open adamroszyk opened this issue 6 years ago • 2 comments

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 !

adamroszyk avatar Apr 14 '18 03:04 adamroszyk

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.

tylerwhall avatar Apr 14 '18 19:04 tylerwhall

I second this, doesn't work if Unity isn't installed on the machine. :)

ZeoWorks avatar Jun 20 '21 19:06 ZeoWorks