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. Unity 2022.2 is now available as the latest Tech release.
    Dismiss Notice
  3. We are making some changes to the DOTS forums.
    Dismiss Notice
  4. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Photon change object creator

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

  1. Chen5464


    Jan 14, 2018
    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 ?
  2. tobiass


    Apr 7, 2009
    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?