Benedicht / BestHTTP-Issues

Issue tracking repo for the Best HTTP and all related Unity plugins.
https://assetstore.unity.com/publishers/4137
12 stars 1 forks source link

SignalR problem with SkipNegotiation = true #200

Closed iserofeev closed 3 months ago

iserofeev commented 3 months ago

Hello,

After updating to version 2, we faced a SignalR problem when using only WebSockets as transport.

We successfully fixed it by editing the source code of HubConnection.cs.

Screenshot 2024-07-18 at 11 48 35

The core of the problem is a null reference of NegotiationResult. It is called after the connection, but it is set only if SkipNegotiation is false (which is the default).

Setting NegotiationResult fixes this problem. I hope you will address this in your source code in future updates.

Thanks for a great asset!

Benedicht commented 3 months ago

Thanks for the report, fixed in the next version!

iserofeev commented 3 days ago

Hello, I've just updated to the latest version, but I'm still seeing this problem. I hope it will be fixed in future releases, and I'd appreciate knowing in which version it will be addressed.

Benedicht commented 3 days ago

I couldn't replicate it with the latest version. It was included in v3.0.3, released on 09-09.