Dissonance icon indicating copy to clipboard operation
Dissonance copied to clipboard

[Feature] New Unity Networking

Open martindevans opened this issue 7 years ago • 4 comments

Unity has announced that they are deprecating UNet and are replacing it with a new Networking system (currently released in preview). We should support this.

martindevans avatar Oct 30 '18 02:10 martindevans

Unity now have Pipelines. So they can be used to create a reliable and unreliable channels for control packets and audio packets. We now have to wait a little bit for Unity to figure out how to provide common plugin mechanism for network traffic multiplexing and demultiplexing. Right? At my company, I did a homegrown networking stack on top of the bare UDP Unity provides and Dissonance works fairly well. It has been since Oct 2018, and we still can't add Dissonance with a drag and drop to a client-server type application with the new transport.

pana-cc avatar Sep 17 '20 16:09 pana-cc

Unity now have Pipelines.

I just read the documentation on these and they look quite promising. I think all that's left for a drag-and-drop Dissonance integration would be some way to inject packet handling into the m_Driver.PopEventForConnection event loop automatically (preferably some way to register a handler for packets on a given pipeline so the event loop never even sees them).

It has been since Oct 2018

It has been a while. We've held off on it because thigs like pipelines and event loop handling are missing. Of course we could work around those, but we've also not had a huge amount of interest in this feature request!

martindevans avatar Sep 17 '20 18:09 martindevans

Its really time for this, thanks

Karstenx1971 avatar Jul 19 '21 20:07 Karstenx1971

We released an integration with support for the new Netcode For GameObjects in November. That's half of the new Unity networking packages covered.

I'll leave this issue open since we don't support the Unity Transport.

martindevans avatar Jan 04 '22 16:01 martindevans