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.

Third Party Photon change object creator

Discussion in 'Multiplayer' started by Chen5464, Nov 23, 2022.

  1. Chen5464

    Chen5464

    Joined:
    Jan 14, 2018
    Posts:
    15
    Is there a way to change the object creator to null?
    I know I can use the InstantiateRoomObject but it itself brings me some errors so im using PhotonNetwork.Instantiat instand.
    And same for roomOptions.CleanupCacheOnLeave = false.
    trying to avoide these two. is there another approach ?
    Thanks
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,022
    No, the creator can not be changed. It's needed as context when destroying objects (we store the Instantiate event on the server so late joining players get the same objects).
    How about we solve the issues with InstantiateRoomObject?