Mirror icon indicating copy to clipboard operation
Mirror copied to clipboard

TargetRpc(NetworkConnection) should force NetworkConnectionToClient

Open miwarnec opened this issue 2 years ago • 8 comments

strong typing to help catch issues at compile time

miwarnec avatar Apr 11 '23 03:04 miwarnec

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.

yuzugit avatar May 31 '23 08:05 yuzugit

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 avatar Jun 02 '23 02:06 Dawwwz

fasdsadasfasd fwedsfsafas

Dawwwz avatar Jun 02 '23 02:06 Dawwwz

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

thegreenshark avatar Jun 26 '23 12:06 thegreenshark

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

js-9 avatar Feb 19 '24 15:02 js-9