ayumax / ObjectDeliverer

ObjectDeliverer is a data transmission / reception library for Unreal Engine (C ++, Blueprint).
https://www.unrealengine.com/marketplace/ja/slug/objectdeliverer
MIT License
157 stars 36 forks source link

Receiving UDP data in UE5 #55

Open bsyzek opened 2 years ago

bsyzek commented 2 years ago

Hello - I downloaded the sample project, and am able to send UDP data using the UDP sample level (thanks for providing that!) However, for some reason I am unable to receive UDP data using the provided sample blueprint widgets. I can see in Wireshark that the data is coming through on the correct IP address and on the port that's set in the widget (8000), but nothing seems to be coming through in UE5. Are there any additional configuration steps needed to get UDP receiving working? Thanks for the great plugin!

image

OnlinePage commented 1 year ago

any solution about it?

theraa commented 1 year ago

I'm stuck with the same problem here. When I'm broadcasting UDP messages over my local network, ObjectDeliverer is able to print out IP address from which these messages are coming from, but not the actual messages. I'm using the same patch Bsyzek is showing here, and I simply cannot figure out, which node I want to replace GetIPAddress with.

theraa commented 1 year ago

I set up a simple UDP sender in TouchDesigner, broadcasting noise in 0 to 1 range, over my network. I'm trying to read whatever array of bytes the ReceiveData_Event gives me.

It gives something: 2023-01-23-21-36-34

Looks like there's some sort of corellation between TD and UE. Means, by making the noise signal oscillating faster, I'm getting the buffer's output updating faster as well. (Although it prints values in 48 to 53 range. )

I have no idea what I'm doing T___T I wish I understand these data communications better, and get the result. Any help is highly appreciated!

theraa commented 1 year ago

Okay, in case if anyone else may struggle being unable to recieve any packages using this plugin, I've found another one https://github.com/getnamo/UDP-Unreal which worked for me

Schurke commented 1 month ago

I was locked-up here also. It turns out that the testing tool I was using (Chataigne) sends and receives messages that match the NoDivision rule (rather than the SizeBody rule). This appears to be one of the trickier points of configuration (matching the rule to the sender/receiver's capabilities); You may need to experiment a bit to work it out.