Open xelamak opened 7 years ago
@xelamak thanks for the detailed bug report, I am investigating...
Thanks, I have also tried building UrhoSharp with latest Urho3D source myself but the problem still exists.
Is there any update ?
@Egorbo
Hi Egorbo,
Is there any scheduled plan to fix the network events issue ? Is there any work around to solve the problem.
+1 to this. I'm sending messages but not receiving any via the NetworkMessage event. I'm using an alternative networking library for the moment, please let us know if there are any updates!
+1 - Confirmed on 1.9.67. I cannot get NetworkMessage, ClientSceneLoaded, ClientDisconnected to fire using SubscribeToEvent or event handler syntax (Network.NetworkMessage += (arg) => {};).
+1 - ClientConnected is nor called, so it is not possible to assign der scene on the server-side
Has anyone found a workaround for this?
For anyone this is troubling, I'm using an alternative networking library called LiteNetLib at the moment, works well with Urhosharp.
Can you give me a hit, how to tell Urho to use LiteNetLib? Becouse I want to do Scene Replication, so I need the ClientConnected-Event to set the scene that soulf be replicated....
I don't think there's an automated way of doing it, you'll need serialize the scene into json or xml, send it over the network, then parse it on the other end.
For anyone this is troubling, I'm using an alternative networking library called LiteNetLib at the moment, works well with Urhosharp.
Do you have any LiteNetLib UrhoSharp project published as open source?
@barefists also does it work on mobile?
Yes it works on mobile - I don't have any open source project I can share right now with working code, unfortunately.
Hello developers,
Currently on UrhoSharp 1.2.21 Network Events are not working as expected. I have tested the Chat Sample on both UrhoSharp and latest Urho3D from master branch, and here are the results:
The result leads me to a guess that Network events subscription on UrhoSharp are not working, I have created a simple application and subscribed to several network events. And here are the results:
Example code of subscribing to NetworkMessage: