how can I send a data with photon fusion
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on Fusion.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
how can I send a data with photon fusion
Sor3a
2022-09-05 13:32:53
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 ...
Comments
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
Back to top