Devices Sync Unity

by enormand

Synchronize devices information in real time through Unity Networking.

( Crawled 9 hours ago )

Devices synchronization for Unity

Synchronize devices information in real time through Unity Networking.

This project has been developed as part of the master thesis of Erwan Normand and was supported by the ÉTS - École de Technologie Supérieure.


  • Devices sync their touches information.
  • Devices sync their acceleration information.
  • Server keeps the latest information from all devices client and send them to every new connected device client
  • A debug display that show connected devices and their touches information in real time.


  1. Make sure the tcp/udp port you're going to use is open on your firewall
  2. Clone and build the repo directly on your Unity project
  3. Test
    1. Connect a mobile device on the same local network than your PC
    2. Build and run the Assets/DevicesSyncUnity/Scene/MobileSync.unity scene on the mobile device and on the PC
    3. Use the HUD to host on the PC and to connect as client with the mobile device
    4. Touch the mobile device and see the touches on the PC screen


  1. Set up the NetworkManager on your scene
  2. Optionally use Assets/DevicesSyncUnity/Prefabs/NetworkManagerHUD.prefab as replacement of the default Unity's NetworkManagerHUD
  3. Drag and drop to scene the Assets/DevicesSyncUnity/Prefabs/{DeviceInfoSync, AccelerationSync, TouchesSync}.prefab prefabs and configure them
  4. Optionally use Assets/DevicesSyncUnity/Prefabs/DevicesSyncDisplay.prefab to debug the prefab


The documentation of available online:


See the LICENSE file for license rights and limitations (3-clause BSD license).