Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when adding SpoutSender component using HDRP #91

Open
SnoutFace opened this issue Aug 21, 2022 · 7 comments
Open

Crash when adding SpoutSender component using HDRP #91

SnoutFace opened this issue Aug 21, 2022 · 7 comments
Assignees
Labels

Comments

@SnoutFace
Copy link

SnoutFace commented Aug 21, 2022

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

@keijiro keijiro self-assigned this Aug 21, 2022
@keijiro
Copy link
Owner

keijiro commented Aug 21, 2022

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

@SnoutFace
Copy link
Author

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

@keijiro
Copy link
Owner

keijiro commented Aug 21, 2022

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

@SnoutFace
Copy link
Author

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

@PockPocket
Copy link

Any update on this ?

@keijiro
Copy link
Owner

keijiro commented Mar 15, 2023

@PockPocket No.

@Harloys
Copy link

Harloys commented Jul 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants