Open celojevic opened 1 month ago
I think that error is thrown when a socket is set to non-blocking mode. but I dont think we change the Blocking
property anywhere, and it should default to true.
for some background: the Read
call should block the current thread until there is new data, which is why there are many side threads. Using tasks for read/write calls in unity has much worse performance.
FishNet's Bayou has some modifications to the source code, so it is possible those changes are causing issues.
I cant seem to find the Blocking property anywhere so I can probably assume its also not being changed. And at least my FN package has no modifications to your source code since i also tried updating SWT to the latest 2.2.1.
I am hosting on Playflow, not sure if that makes a difference.
I'm also having other issues with the web transport. Have asked in the FN discord as well but still can't figure out what's going on with any of this. I'm wondering if we can talk on Discord about it? Would gladly pay you for your time as well.
Hello there,
I'm getting this error quite often in my project. Im using FishNet's Bayou transport which is just a wrapper for this git.
I'm not sure what it means or how to fix it honestly. The only googling i could do says it has to do with threads. Would using Tasks instead of Threads help?
Any help or advice would be appreciated!