The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our

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.

Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

how can I send a data with photon fusion

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 ...


2022-09-06 10:01:44

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:

Back to top