June 6, 2018

Unity3D – Near Real-Time Game Communication

Simple Wifi UDP Controller

A simple way to implement UDP in Unity Projects!

Unity3D - Low Latency Network Communication Using The User Datagram Protocol (UDP)

Designing and developing games is complex. 

When looking to prototype near real-time interaction from controllers, interactable hardware, or other local computers we seek low-latency methods of communication.

The User Datagram Protocol (UDP) is a common method to send communication between devices quickly. 

The issue with UDP in Unity3D is that it's not a native functionality. Instead, you need to implement your own solution or find a plugin on the Unity Asset Store that will reliably work with your project. 

Our solution is a simple and light solution that implements UDP with minimal overhead. The idea is that we strip out over complex implementation and give you a solution that can simply work. 

The plugin that we offer in the Unity Asset Store includes a demo scene with our very own joystick prototype that you can use in your own projects. The joystick was originally a part of a small interactive installation that we designed. Our UDP code was then used to allow players to control their associated on-screen characters with Android and iOS devices as their controllers. The minimal overhead of UDP made the experience feel great when we ran the demo installation and that's what gave us the idea to provide our code as a plugin on the Asset Store.

Find the plugin here: SimpleWifiUDPController

For support, email us at Tech@EdgeTechnovations.com