Photon Instantiate Sync

Hello Guys, I have a full match3 game working offline mode and Im making it to work online multiplayer on Photon.

I have only 2 players, the master and the client

Only the Master will spawn 100 cubes in the screen with Random.Range code to set randon textures on the cubes.
It works offline and online by Photon and the client must see then by PhotonView. Its ok too.

The client only gets +- the first 10 textures correctly and later he losts the logic of the script and the rest of the cubes will have different textures from the Master.

I dont know what to do. If I spawn just a few like 10, the client take all correctly. More than this he lost himself.

I need some help.

And sorry about my english.

Best Answer

Answers

  • Thanks Christian, working with InstantiationData works for me.