Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required Formal Parameter Error #38

Open
StaleC00kie opened this issue Sep 15, 2022 · 3 comments
Open

Required Formal Parameter Error #38

StaleC00kie opened this issue Sep 15, 2022 · 3 comments

Comments

@StaleC00kie
Copy link

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)'

@JKincorperated
Copy link

JKincorperated commented Sep 24, 2022

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.

@JohnPapello
Copy link

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

@gerudoking
Copy link

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());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants