getnamo / SocketIOClient-Unreal

Socket.IO client plugin for the Unreal Engine.
Other
898 stars 240 forks source link

Very long period between sending packets #351

Closed ProudFaceOfSUiR closed 2 years ago

ProudFaceOfSUiR commented 2 years ago

I am using Emit Bytes node to send some values to python script running on the same machine and I am getting 0.33 sec delay between packets. I've tried running it on Windows and Linux, problem stays the same. Adjusting buffer size and tick interval does not help

ProudFaceOfSUiR commented 2 years ago

Oh, sorry, Unreal just updates 3 fps when it's not active, my bad)

getnamo commented 2 years ago

The setting to adjust that behavior should be in editor settings: https://answers.genvidtech.com/articles/51/low-framerate-in-ue4editor.html

You can also try to receive messages (toggle on bind) in the background thread for messaging not be dependent on game thread tick rate.