keijiro / KlakSpout

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

Spouts do not function in Unity 2021.2.0b2 standalone builds #72

Closed MrMahgu closed 3 years ago

MrMahgu commented 3 years ago

I can not get any spout senders or receivers to function once I export my build via IL2CPP or MONO. In my case -- using render textures.

All is working in play mode in editor.

Steps to produce:

Unity 2021.2.0b2 -> New Project Add scoped registries Install HDRP 12 Install KlakSpout 2.0.1

Add RenderTexture Configure RenderTexture Add GameObject Add Spout Sender Configure Spout Sender with RenderTexture and Name Build Run Build -> No spout activity

Windows 10, x64.

keijiro commented 3 years ago

Thanks for reporting it. I found that conditional compilation I added in the last update (v2.0.1) caused this issue. I fixed it in v2.0.2.

keijiro commented 3 years ago

I'm closing this issue as resolved. Please feel free to reopen it if it still reproduces.

antoniohof commented 3 years ago

I dont get image when using in standalone builds, spout output appears but is empty.

maybe you have an idea of whats going on?

antoniohof commented 3 years ago

Im using HDRP, Spout sender set to Camera and unity 2020.03.14f1

keijiro commented 2 years ago

@antoniohof Could you post it as a new issue and attach a minimal project that reproduces the issue?