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.

Question [Photon Fusion] External sprite synchronization

Discussion in 'Multiplayer' started by williamsmolla, Feb 8, 2023.

  1. williamsmolla


    May 25, 2022
    Hello everyone,
    We are building a multiplayer game using Photon Fusion inside Unity. In our game, we import a sprite sheet created by the player from a database and process it inside the game. The thing is: Since the sprite sheet is not included in the client build, it does appear in-game on the local client but not on the other clients when using the sprite renderer. Is there something I am missing out here ? Do we need to share some kind of byte array representing the .png over the network for the image synchronization? We absolutely need this feature.

    Thank you for your answers and your help !
  2. CodeSmile


    Apr 10, 2014
    Yes. There's nothing in any of the networking libraries that will automatically transfer game data (assets) to other clients if that data wasn't included in the build.
  3. tobiass


    Apr 7, 2009
    Depending on the amount of data you could either stream it via Fusion (yes, as byte[]) or you could create an online database for such sprite sheets. When a file gets uploaded, it gets some ID. Share this in Fusion with others and every player can individually download the file as needed from a simple web server.