What is the purpose of UDPMessaging plugin?

Hello,

Recently I had few problems with UE4Editor-UDPMessaging.dll.
It was crashing at FUdpSerializeMessageTask::DoTask
line SerializedMessage->UpdateState(EUdpSerializedMessageState::Invalid);

When I check “Enable” in UDP Messaging->Transport i see that there are a lot of calls to DoTask method.
My question is:

What is the purpose of UDPMessaging plugin?

Regards,
Chris

1 Like

UdpMessaging is a plug-in that connects message buses running in different instances of the Engine over the network. The message bus is a communication infrastructure for exchanging structured data within the same process. UdpMessaging makes it possible to also send and receive messages between different processes on the same computer, or between multiple computers. It is used by a number of our tools, especially in Unreal Frontend for remote profiling, automation, game session discovery and device management. Some preliminary documentation for the messaging system can be found here.

Do you have a full callstack for the crash? Given the details you provided, I’m actually not sure what exactly is crashing. It’s possible that SerializedMessage is not valid, which would definitely be a bad thing, and something I have not seen before. The messaging system has not been modified for several months, so this may be some new bug introduced by changes elsewhere in the Engine.

1 Like