[Solved] PUN v1.3 RPC don`t send.
Options
Hi. I use photoncloud. When I send RPC sometimes do not get a response. This happens from time to time. Other players also can not RPC. For what it may be the reason? Sorry for my bad English.
function ApplyDamage (damage: float){ photonView.RPC(RPCName.ApplyDamagePlayer,photonView.owner, damage); } @RPC function ApplyDamagePlayer (damage: float, info: PhotonMessageInfo) { // Don't Response }
0
Comments
-
I would check for 2 things:
1. do you get an error for view not found in sending or receiving side?
2. check if the view really has an owner thats not a scene (shouldn't be the case normally but who knows)0 -
Problem solved, it was a stupid mistake in my client code.0