keijiro / KlakSpout

Spout plugin for Unity
The Unlicense
651 stars 97 forks source link

SpoutReceiver not working: Failed to create 2D texture shader resource #96

Open pholz opened 1 year ago

pholz commented 1 year ago

In Unity 2023.1.0b20 I get the following warning:

d3d11: Creating a default shader resource view with dxgi-fmt=29 for a texture that uses dxgi-fmt=87

and error:

d3d11: failed to create 2D texture shader resource view id=1801 [D3D error was 80070057]

No matter what format I specify in the Unity render texture, it always creates a "dxgi-fmt" of 29 which is DXGI_FORMAT_R8G8B8A8_UNORM_SRGB according to this page. Ans this does not seem to match any output I can create in unity itself or any other program.

Same issue in Unity 2022.20b16.

Reag commented 10 months ago

I get the same issue in my tests

Barbelot commented 10 months ago

I have the same issue in Unity 2022.3.7f1.

Barbelot commented 10 months ago

This solution from another issue thread worked for me : https://github.com/keijiro/KlakSpout/issues/81#issuecomment-1067543009