sloopidoopi / Spout4Unity

Spout support for Unity3D
BSD 2-Clause "Simplified" License
138 stars 47 forks source link

runtime mode #14

Open julienrobert opened 7 years ago

julienrobert commented 7 years ago

Hello, I'm trying to build an application using spout. It doen't seem to work at all.

After that, I'll need to be able to change scene, I hope we can find a solution...

Unity 5.3.5p1 Resolume 5

u10116032 commented 7 years ago

I have the same problem... it seems that it cannot be built in standalone, and can only work in play &edit mode!?

julienrobert commented 7 years ago

Hi Han-Lei

I succeeded to built an application with unity 5.2.5.

For the change of scene, you need to put the spout script on a game object by itself because that object won't get destroyed between the scenes since there are public static variables in the script.

Hope it helps.

zombience commented 6 years ago

I am also having this issue in 2017.3.1f1 In certain situations I have gotten the Spout Receiver to work, but not the sender. I need both running for a project, and haven't yet been able to get this to work.

It is not a gameobject being destroyed issue. The logs show that the spout plugin is failing to create a new texture. Any help would be appreciated.

I have looked into Keijiro Takahashi's version of the Spout plugin, but unfortunately am having a different issue with that one.

But, for anyone having issues, you might try this alternative: https://github.com/keijiro/KlakSpout It DOES work in build. I'm having an issue that prevents it from working for my project, however.