Open StaleC00kie opened 2 years ago
Not really a solution but if you just comment out line 25 ( add // before) the problem goes away. However this will cause many more issues down the line so do not use it in a production environment. This is not a fix, this is like punching the problem and ignoring it. So use this bodge for testing only. I am testing this "fix" currently.
edit : I just finished testing, and this causes more issues than problems for me.
I was able to fix all the errors and everything works fine. The updated version can be downloaded here: https://github.com/JohnPapello/EOS-Transport-for-Unity
I did a quick workaround on line 25 (it won't return the correct error, I believe, but at least it compiles). Changed it to:
s.OnReceivedError += (id, exception) => transport.OnServerError.Invoke(id, Mirror.TransportError.Unexpected, exception.ToString());
In the newest version of Mirror, I am getting this error. I'm wondering if there is a fix for this or if the repo is going to get an update to fix it?
Assets\Mirror\Runtime\Transport\EpicOnlineTransport\Server.cs(25,77): error CS7036: There is no argument given that corresponds to the required formal parameter 'arg3' of 'Action<int, TransportError, string>.Invoke(int, TransportError, string)'