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

TargetRpc(NetworkConnection) should force NetworkConnectionToClient #3466

Open
miwarnec opened this issue Apr 11, 2023 · 6 comments
Open

TargetRpc(NetworkConnection) should force NetworkConnectionToClient #3466

miwarnec opened this issue Apr 11, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@miwarnec
Copy link
Collaborator

strong typing to help catch issues at compile time

@yuzugit
Copy link

yuzugit commented May 31, 2023

Related to this bug, when you compile on IL2CPP on Dedicated server target or Linux Standalone target, you get a compilation error if you use a TargetRpc attribute with NetworkConnectionToClient as a parameter.

IL2CPP doesn't find the signature for the method.

@Dawwwz
Copy link

Dawwwz commented Jun 2, 2023

yeaah the same Get a compilation error if you use a TargetRpc attribute with NetworkConnectionCLient as parameter
IL2CPP[ doesnt find](error: no matching function for call to)
But when try webGL build
for windows,and linux server is fine to me

@Dawwwz
Copy link

Dawwwz commented Jun 2, 2023

fasdsadasfasd
fwedsfsafas

@MrGadget1024 MrGadget1024 added the bug Something isn't working label Jun 23, 2023
@thegreenshark
Copy link

Same issue. Works fine when building for windows, but fails when building for android

@js-9
Copy link

js-9 commented Feb 19, 2024

This has been fixed for us with a recent version of Mirror.

@miwarnec
Copy link
Collaborator Author

miwarnec commented Oct 8, 2024

we need to set up a test with:

  • TargetRpc(NetworkConnection)
  • TargetRpc(NetworkConnectionToClient)

and ensure both work in il2cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants