KlakSpout icon indicating copy to clipboard operation
KlakSpout copied to clipboard

Crash when adding SpoutSender component using HDRP

Open SnoutFace opened this issue 2 years ago • 7 comments

Editor.log

Unity is crashing when adding the SpoutSender component while using HDRP on DX12, tested both on versions 2021.3.38f1 and 2022.1.13f1, adding the SpoutReciever component works fine

SnoutFace avatar Aug 21 '22 11:08 SnoutFace

Does it reproduce with the sample project contained in this repository?

keijiro avatar Aug 21 '22 13:08 keijiro

I just tested with the sample project using Unity 2021.3.38f1. After switching to HDRP and then changing to DX12 Unity crashed again, here is the editor log:

Editor.log

Thank you

SnoutFace avatar Aug 21 '22 13:08 SnoutFace

Thanks for the clarification. Sure. I'll try to reproduce on my side with the sample project.

keijiro avatar Aug 21 '22 13:08 keijiro

Hi, I just wanted to give more details of my testing. I have found that the crashing is consistent on Unity versions 2022.1.13f1, 2021.3.8f1 and 2020.3.38f1.

I have reproduced the crash using the sample project in the test scene by doing these steps:

  • Switching to HDRP
  • Switching to DX12

I have also reproduced the crash in the same versions of unity with a new project by doing these steps:

  • Create a new project
  • Install KlakSpout
  • Switch to HDRP
  • Switch to DX12
  • Attempt to add Spout Sender component to main camera

I have tested on 2 seperate PCs, one with an RTX 3080 and the other with an RTX 3080ti both using the newest game ready drivers from Nvidia.

Using DX11 there is no issue, so I will switch back to that for now

SnoutFace avatar Aug 22 '22 18:08 SnoutFace

Any update on this ?

PockPocket avatar Mar 14 '23 19:03 PockPocket

@PockPocket No.

keijiro avatar Mar 15 '23 01:03 keijiro

You can use SpoutSender, just don't use CaptureMethod.GameView. And if you add SpoutSender from code don't forget to call SetResources method

Harloys avatar Jul 19 '23 10:07 Harloys