Skip to content

Releases: mikerochip/unity-websocket

DotNet implementation perf improvements

01 Nov 05:51
Compare
Choose a tag to compare

Moved the send loop from a thread pool thread back to the main thread since it was being a thread pool resource hog for no good reason.

Fix send loop performance in DotNet implementation

01 Nov 05:07
Compare
Choose a tag to compare

As noted in #19, the await Task.Yield() send loop in the DotNet implementation was resulting in a huge perf hit due to the yield happening constantly. More noticeable with a larger number of active connections.

Change message buffers back to Queues

22 Oct 08:00
Compare
Choose a tag to compare

Fixes to address suggestion raised in #18 to reduce garbage. Public facing buffers were changed back to Queues, and DotNet path now produces less garbage when messages are received.

Error event for incoming message size exceeded

08 Oct 02:03
Compare
Choose a tag to compare

Fix performance issue sending outgoing messages

25 Aug 06:43
Compare
Choose a tag to compare

This happened at high connection counts. See #15

Add WebSocketState.DisconnectedFromAppQuit

03 Jul 06:57
Compare
Choose a tag to compare

This proved useful to distinguish from the existing Disconnected event, since you may want to reconnect from a disconnect, but definitely wouldn't want to if the disconnect happens due to the app quitting.

Fix ReferenceError from universal makeDynCall macro

21 Jun 19:27
Compare
Choose a tag to compare

This comes up on some browsers, like mobile Safari

Invoking error handler due to
ReferenceError: getDynCaller is not defined
at *.framework.js:*
    at instance.ws.onopen 

Use universal version of WebGL makeDynCall macro

27 May 06:39
Compare
Choose a tag to compare

Minor release for WebGL that simplifies the WebAssembly.Table and older paths for calling into C# by using a single macromakeDynCall overload instead of determining whether Module.dynCall exists and preferring that. Friendly folks at Unity told me about this one!

Fix for Web `onerror` unreferenced var

15 Apr 20:27
Compare
Choose a tag to compare

WebAssembly.Table support (2023.2 and newer)

11 Apr 21:58
Compare
Choose a tag to compare

Per #13, dyncall is now only used if the variable exists. It is stripped from 2023.2+ builds that have WebAssembly.Table enabled. According to this page there are now no more deprecated calls in the Web/jslib code path.