i wanna send data with photon Fusion to all the players

hello I have a map data byte[,] and i wanna send it to all players I create RPC to send it like that


and it didn’t work it works only on the host ( the server creator and i wanna all the players get this rpc i try to change the source and the targets but i got errors btw this script is not a NetworkBehaviour it’s MonoBehaviour,INetworkRunnerCallbacks i try everything to send this data and i couldn’t please anyhelp it’s been 3 days now trying to find a solution …

Already answered on the Photon forums.

RPCs must be on a NetworkBehaviour on a NetworkObject. Or you can use a static RPC and just make it a SimulationBehaviour.

More info can be found on the docs page: https://doc.photonengine.com/en-us/fusion/current/manual/rpc

1 Like