Search Issue Tracker

Fixed

Votes

5

Found in

Issue ID

696932

Regression

No

ClientRPC isnt called for local client for networked scene objects

Networking

-

ClientRPC doesnt work for network objects placed in the scene.

Comments (8)

  1. nsmith1024

    Jul 05, 2016 18:53

    ClientRpc is not working, can someone fix it please, how can anybody make a network game without this? I cant do anything because this basic function dont work.

  2. nsmith1024

    Jul 05, 2016 12:59

    Its happenning in 5.4.0.b24

    i cant run my game because i cant do any clientRpc calls it gives error. Why does it show 2 Rpcs (RpcRpcSetLayerWeightClient) shouldnt it be RpcSetLayerWeightClient with 1 Rpc in the function name string?

    Found no behaviour for incoming [ClientRpc:InvokeRpcRpcSetLayerWeightClient] on Player2@Owner(Clone) (UnityEngine.GameObject), the server and client should have the same NetworkBehaviour instances [netId=1].
    UnityEngine.Networking.NetworkIdentity:UNetStaticUpdate()

    [ClientRpc]
    public void RpcSetLayerWeightClient(int layer, float weight)
    {
    animator.SetLayerWeight(layer, weight);
    }

    [Command]
    public void CmdSetLayerWeightClients(int layer, float weight)
    {
    RpcSetLayerWeightClient(layer, weight);
    }

  3. shadiradio

    May 26, 2016 23:20

    This appears to be happening to me in the 5.4 beta.

  4. Linetksy

    Jan 29, 2016 16:30

    Version 5.2.3f1 - Rpc not executed on local client

  5. TomNCatz

    Dec 19, 2015 07:28

    5.3.1f1 issue still seems to be present.

  6. TomNCatz

    Dec 18, 2015 19:21

    5.2.3f1 and I am still seeing this issue.

  7. james69lemon

    Sep 18, 2015 13:46

    doesn't seem to be resolved for me either

  8. quitebuttery

    Sep 14, 2015 01:53

    Is this resolved? It still happens to me on 5.2.

Add comment

Log in to post comment