hecomi / UnityRemoteDesktopDuplication

An Unity example to send a desktop image to a remote PC using Desktop Duplication API and NVENC/NVDEC.
https://tips.hecomi.com/entry/2019/09/27/235955
MIT License
77 stars 17 forks source link

uNvEncoder has not been initialized yet. #7

Open hanlongppl opened 1 year ago

hanlongppl commented 1 year ago

uNvEncoder has not been initialized yet. UnityEngine.Debug:LogError (object) uNvEncoder.Encoder:Encode (intptr,bool) (at Library/PackageCache/com.hecomi.unvencoder@1.1.0/Runtime/Encoder.cs:123) uNvEncoder.Encoder:Encode (UnityEngine.Texture,bool) (at Library/PackageCache/com.hecomi.unvencoder@1.1.0/Runtime/Encoder.cs:100) UnityRemoteDesktopDuplication.DesktopEncoder/d__7:MoveNext () (at Assets/uRemoteDesktopDuplication/Scripts/DesktopEncoder.cs:60) UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)