hecomi / uWindowCapture

This allows you to use Windows Graphics Capture / PrintWindow / BitBlt in Windows to capture multiple windows individually and easily use them as Texture2D in Unity.
https://tips.hecomi.com/entry/2021/04/30/230322
MIT License
505 stars 81 forks source link

[uWC::Err][2023-04-15 11:00:42] WindowsGraphicsCapture::CreateItem() threw an WinRT exception: 0x80004005 未指定的错误 #56

Open BelieveXiaoShuai opened 1 year ago

BelieveXiaoShuai commented 1 year ago

Unity Version: 2021.3.16f1c1 IL2CPP Branch:master Running Enviroment: Windows 10 22H2 Error: [uWC::Err][2023-04-15 11:00:42] WindowsGraphicsCapture::CreateItem() threw an WinRT exception: 0x80004005 未指定的错误 0x00007ffde8a980bd (UnityPlayer) UnityMain 0x00007ffde8a9cff3 (UnityPlayer) UnityMain 0x00007ffde8a876a5 (UnityPlayer) UnityMain 0x00007ffde90595ce (UnityPlayer) UnityMain 0x00007ffde831bb0e (UnityPlayer) 0x00007ffde6d7010e (GameAssembly) DllGetActivationFactory 0x00007ffde6d4ca77 (GameAssembly) DllGetActivationFactory 0x00007ffde4b5fbba (GameAssembly) il2cpp_array_object_header_size 0x00007ffde4232ffe (uWindowCapture) 0x00007ffde4254bea (uWindowCapture) UwcIsWindowsGraphicsCaptureCursorCaptureEnabledApiSupported 0x00007ffde4282afd (uWindowCapture) UwcIsWindowsGraphicsCaptureCursorCaptureEnabledApiSupported 0x00007ffde4260f20 (uWindowCapture) UwcIsWindowsGraphicsCaptureCursorCaptureEnabledApiSupported 0x00007ffde425fe7d (uWindowCapture) UwcIsWindowsGraphicsCaptureCursorCaptureEnabledApiSupported 0x00007fff33231506 (ntdll) RtlCaptureContext2 0x00007ffde425348d (uWindowCapture) UwcIsWindowsGraphicsCaptureCursorCaptureEnabledApiSupported 0x00007ffde42537c5 (uWindowCapture) UwcIsWindowsGraphicsCaptureCursorCaptureEnabledApiSupported 0x00007ffde42544bc (uWindowCapture) UwcIsWindowsGraphicsCaptureCursorCaptureEnabledApiSupported 0x00007ffde4255673 (uWindowCapture) UwcIsWindowsGraphicsCaptureCursorCaptureEnabledApiSupported 0x00007ffde424f254 (uWindowCapture) UwcIsWindowsGraphicsCaptureCursorCaptureEnabledApiSupported 0x00007ffde42505dd (uWindowCapture) UwcIsWindowsGraphicsCaptureCursorCaptureEnabledApiSupported 0x00007ffde424eb0e (uWindowCapture) UwcIsWindowsGraphicsCaptureCursorCaptureEnabledApiSupported 0x00007ffde4265bf0 (uWindowCapture) UwcIsWindowsGraphicsCaptureCursorCaptureEnabledApiSupported 0x00007fff32077034 (KERNEL32) BaseThreadInitThunk 0x00007fff331e2651 (ntdll) RtlUserThreadStart