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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    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?