Dynamically loading NetworkObjects from non preregistered prefabs.

Options

Hi,

We are developing an application where we dynamically load in gemobjects from assetbundles downloaded from the web.

All players that join the app load in this content and we would like for the tranfsorm to be synced over the different players when one of them moves an object.

We have tried using the NetworkRunner.Attach() method for each spawned object to achieve this but with no success. I am now considering using a root NetworkObject in the scene and dynamically adding the loaded objects under it using NetworkRunner.AddSimulationBehaviour().

Would this be a good way to do it? Or is there a better workflow for syncing dynamic content that we don't know of.

Kind regards,

Lucas

Answers

  • LucasSQ
    Options

    This question was answered on the Photon Discord. I had looked over the post which said questions are now answered over there. My apologies.