Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Third Party Sync string array Photon

Discussion in 'Multiplayer' started by SebGM2019, Nov 26, 2018.

  1. SebGM2019

    SebGM2019

    Joined:
    Aug 3, 2018
    Posts:
    34
    I need to sync a string array in Photon PUN2 (Unity), so all the players can have the same value, for example:

    The master player sets the string order to a random order and the string array value is the same for all players. I have tried with RPC, RaiseEvent and SerializeView, but nothing has really worked. Could you please help me? Thanks
     
  2. Munchy2007

    Munchy2007

    Joined:
    Jun 16, 2013
    Posts:
    1,732
  3. SebGM2019

    SebGM2019

    Joined:
    Aug 3, 2018
    Posts:
    34