playMaker

Author Topic: Photon View RPC Broadcast FSM Event to Player - issues  (Read 1384 times)

nFighter

  • Beta Group
  • Full Member
  • *
  • Posts: 174
    • multiplayer adult fighting
Photon View RPC Broadcast FSM Event to Player - issues
« on: October 09, 2022, 09:07:19 AM »
Hey! I'm using PUN2 and saw many posts regarding similar issues but didn't find a match to my particular case.

I'm easily can send/receive the regular RPC event to "All", but when I send Photon View RPC Broadcast FSM Event to Player (I'm looking for the player with Actor Number) - client seems to receive the event, but can't handle it. All the objects with PhotonView on the receiving client side drop the error:
 
Code: [Select]
RPC method 'rpc_s(String, String)' not found on object with PhotonView 2001. Implement as non-static. Apply [PunRPC]. Components on children are not found. Return type must be void or IEnumerator (if you enable RunRpcCoroutines). RPCs are a one-way message.
Did I just miss some setup/components on my objects or it's something more complicated?

« Last Edit: October 09, 2022, 09:15:35 AM by nFighter »
indie developer of multiplayer adult fighting
http://nakedfighter3d.com

nFighter

  • Beta Group
  • Full Member
  • *
  • Posts: 174
    • multiplayer adult fighting
Re: Photon View RPC Broadcast FSM Event to Player - issues
« Reply #1 on: October 09, 2022, 10:24:52 AM »
I want to mention that if I send the same event to "Nickname" - I got a debug log that RPC event send from the sender client but nothing happens on the receiver client.  :(
indie developer of multiplayer adult fighting
http://nakedfighter3d.com

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Photon View RPC Broadcast FSM Event to Player - issues
« Reply #2 on: October 11, 2022, 02:49:01 PM »
Hi.
I have no experience with Pun1/2 but i know several people on discord are using it, my try asking there.