Couldn't Invoke RPC Function !

Hi every one
I assume that my question is very simple but actually i spent hours or even days to solve my problem withuot any result, now i have a simple non-authoritative server game in which whenever a player connects to the server i.e. when OnConnectedToServer(), a player character is network instantiated with a set of preallocated networkViews

void OnConnectedToServer()
    {
        // spawn the player on connected to server
        Network.Instantiate(playerPrefab, new Vector3(startPosX, startPosY, startPosZ), Quaternion.identity, 0);
    }

each player prefab has multiple network views for different tasks (two for transform and animation sync and another two for rpc calls), i implemented a private chat app that each client can chat directly to another client connected to the server. seems no problem until now but the annoying message that keeps popup is when i send an rpc call to another client

View ID AllocatedID: 0 Level prefix: 0 not found during lookup. Strange behaviour may occur

and

Couldn’t invoke RPC function ‘FunctionName’ because the networkView ‘SceneID: 0 Level Prefix: 0’ doesn’t exist

to clear things out each player has his own 4 networkViews i mentioned earlier so in my opinion i can’t just send rpc function from my networkView to another player’s networkView even if they share the same script am i right ? (each player prefab has these networkViews), so i tried to forward the rpc function to the server and then the server forward it to the target client and actually it worked some times but now not. i tried to call the rpc function on the target player insted from whithin my player like this:

targetTransform.networkView.RPC("RPCFunctionName", targetNetworkPlayer, arg1, arg2);

but with no result, i tried also to activate the gameObject that the networkView is attached to before starting the game becuz the player starts with the cild that this networkView is attached to deactivated, the same error

any help will be appreciated and if i misunderstood the functionality of allocating view ids any coorection will be appreciated

Ok, maybe having multiple networkViews on your playerPrefab is causing problems, I usually use just one for everything i want (transform, RPCs)

Also (just in case you’re not doing it) did you write [RPC] before your function like this?

[RPC]
void RPCFunctionName()
{
}