keijiro / OscJack

Lightweight C# implementation of OSC server/client
The Unlicense
465 stars 64 forks source link

OSC Event Receiver fails to receive messages from TouchOSC via tethering #18

Closed ColinPeyrat closed 5 years ago

ColinPeyrat commented 5 years ago

Hi !

First, thanks you for this package, it's awesome ! When I'm using it connected to my smartphone Wi-Fi thetering OscJack is not receiving anything...

It's working on if both devices are connected on my home Wi-Fi

There is a screenshot of TouchOSC configuration screen : Screenshot_20190613-193958

keijiro commented 5 years ago

I guess that there is an issue in your network configuration. Please use other OSC monitoring apps like OSCTestApp or OSC Data Monitor to check if it's correctly connected.

ColinPeyrat commented 5 years ago

I've tried OSCTestApp and it's working:

javaw_oEP1epY37H

And still nothing in OSC Monitor in Unity, I use the same TouchOSC configuration and this settings in Unity:

Unity_lE7fL5eORY

keijiro commented 5 years ago

How about building the project? Build the project, close Unity Editor, then run it. I'd like to know if it's an Editor problem or not.

ColinPeyrat commented 5 years ago

I've tried to run a build while editor was closed and that still don't work. Also, OSC Data monitor was still working.

mozis84 commented 5 years ago

Hi, I have the same issue! Everything seem's fine when I use it with OSC Data monitor, but it doesn't work on Unity. I also tried another Unity package, similar to OSC Jack and I still have no signal. If anyone has a clue Please let me know :-(

keijiro commented 5 years ago

I was also struggling with this issue, but I found that it starts receiving messages after one or two minutes elapsed. I'm not sure why, but it seems to need some amount of wait before sending/receiving UDP data. So, could you re-test it for several minutes?

mozis84 commented 5 years ago

Thanx for your response! I figured out what was the problem. In my case, it was a stupid mistake. I just needed to turn off the firewall! Btw... a big thanx for sharing all your great projects, I have a lot of respect for what you do!

keijiro commented 5 years ago

Thanks for the clarification.

Now I'm closing this issue. Please feel free to reopen if it reproduces under some environment.

bastien-germain commented 4 years ago

Hi I think I encounter the same issue. I am trying to send data between two unity instances on two separate computers.

I can receive the data from Unity to the OSC data monitor but not to my second instance of Unity (nothing shows up on the Unity OSC monitor)

You can see my config in the pictures. If someone has an idea to fix this I would be glad.

Thank you for your work :)

Capture3 Capture Capture2

keijiro commented 4 years ago

@BastienGermain Did you disable the Windows Firewall?

bastien-germain commented 4 years ago

Yes I try to disable the firewall and also wait for a few minutes but still nothing...

NickKHarrison commented 1 year ago

Disabling the Firewall solved this - OSC messages now receiving within Unity for me. Had spent a few hours trying to troubleshoot after having no issues yesterday with Unity receiving OSC messages. BTW I was still able to receive OSC messages in the Protokol app - but not Unity, until I disabled the Firewall.