hecomi / uDesktopDuplication

Desktop Duplication API implementation for Unity (only for Windows 8/10)
http://tips.hecomi.com/entry/2016/12/04/125641
MIT License
563 stars 97 forks source link

Mouse Cursor gets heavily distorted on the right side of the screen #33

Closed Xiexe closed 4 years ago

Xiexe commented 4 years ago

There is an area on the right hand side of the screen where if the cursor is within it, it will get heavily distorted.

This may also be the cause of another issue, in which the cursor turns into a blank box and the capture stops updating, this only happens on some monitors, and only affects that one monitor. Re-initializing the API will fix that.

Here's a log from another users system that has a bunch of CreateTexture2D() failed. and Map() failed in it.

uDesktopDuplication.log

hecomi commented 4 years ago

Thank you for the report. I'll check it in my environment soon.

hecomi commented 4 years ago

I've fixed the distortion bug but couldn't reproduce the performance problem in my PC. Could you check the latest version? uDesktopDuplication-v1.6.3.zip

Xiexe commented 4 years ago

will check soon! thank you!

Xiexe commented 4 years ago

Seems like this fixes both issues I was having. Thanks!