Open w3leee opened 3 months ago
Starting with Unity 2021, we changed the way to use makeDynCall. https://docs.unity3d.com/2021.3/Documentation/Manual/web-interacting-browser-example.html
Update Runtime.dynCall("viii", webSocketState.onMessage, [ instanceId, buffer, dataBuffer.length ]); to {{{ makeDynCall('viii', 'webSocketState.onMessage') }}}(instanceId, buffer, dataBuffer.length);
thanks!
Starting with Unity 2021, we changed the way to use makeDynCall. https://docs.unity3d.com/2021.3/Documentation/Manual/web-interacting-browser-example.html
Update Runtime.dynCall("viii", webSocketState.onMessage, [ instanceId, buffer, dataBuffer.length ]); to {{{ makeDynCall('viii', 'webSocketState.onMessage') }}}(instanceId, buffer, dataBuffer.length);