Hello folks – I’m trying to update this old Spout plugin for UE5.4: GitHub - TrigonVirgo/Spout-Unreal at 5.0
After fixing a few small issues (which you can see on my fork), I’m stuck on a bigger one at line 209 in SpoutBPFunctionLibrary.cpp:
HRESULT openResult = g_D3D11Device->OpenSharedResource(newFSenderStruc->sHandle, __uuidof(ID3D11Resource), (void**)(&newFSenderStruc->sharedResource));
It fails with
[2024.07.03-14.58.58:228][241]LogD3D12RHI: Display: D3D12 CreatePlacedResource failed with params:
Heap Type: 1
Heap Flags: 68
Resource Dimension: 3
Resource Width: 1280
Resource Height: 720
Format: 2
Resource Flags: 0
[2024.07.03-14.58.58:818][241]LogD3D12RHI: Error: hr failed
at D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Resources.cpp:989
with error DXGI_ERROR_DEVICE_REMOVED with Reason: DXGI_ERROR_INVALID_CALL
Has anyone seen this error before? There is some talk of just having to update your drivers, but I’ve tried that. Plus, previous versions of Unreal+Plugin work just fine for me.