The Lidgren network library (C#) seems like a natural fit for Unity multiplayer games, but I have been trying to integrate recently and I am getting hard crashes from Unity every time I try to start a simple server.
I used the durable server example and as soon as it tries to read a message it crashes the editor.
Anyone have an example or tips for how to integrate Lidgren?
Sorry for the confusion, dreamora. I was trying both the server and client in Unity as a “proof of concept” just to see if I could get the library working by sending a simple message. Was then planning to move the server over to just .Net executable.
I will look again at the RPC functionality of Unity. I think it may get the job done for now.