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

Safely reload scenes? #58

Open DiscreteTom opened 1 year ago

DiscreteTom commented 1 year ago

Thanks for this cool lib!

I'm developing an app to show multi monitors in Unity3D, and I encountered the following issue:

When reload the scene using SceneManager.LoadScene(SceneManager.GetActiveScene().name);, sometimes some monitors turn white and then return to normal after a while.

Is there a way to safely reload scenes?