InstantiateSceneObject - Documentation? Is it ready?

I saw some posts about "InstantiateSceneObject" which seems like a great solution for AI in a game. I have a couple of questions.

- Is this feature ready? Or still getting the kinks out.

- Can ANYONE Instantiate a Scene Object or only the current Master?

- Do you still use OnSerialize? I guess instead of PhotonView.isMine you could just use isMaster...

Thanks!

-Carmine

Comments

  • 1) We didn't get error reports about this specific feature and in our tests it worked.
    Yes, it's safe to use.

    2) Only the master client can Instantiate (and control) scene objects.
    I added this to the doc for next version.

    3) Yes. On the Master, isMine will be true for these. All others read what you send.
  • Tobias wrote:
    1) We didn't get error reports about this specific feature and in our tests it worked.
    Yes, it's safe to use.

    2) Only the master client can Instantiate (and control) scene objects.
    I added this to the doc for next version.

    3) Yes. On the Master, isMine will be true for these. All others read what you send.

    I read somewhere else that PhotonNetwork.Destroy didn't really destroy these objects that they stayed buffered and when new people came in, they still got them.

    Is this still the case?

    -Carmine
  • By now, we clear the buffer for that object.
    If it stays around, it is a bug.
  • Tobias wrote:
    By now, we clear the buffer for that object.
    If it stays around, it is a bug.

    I downloaded the lates PUN last night. Does it include all of this, or is it missing some of this?

    Thanks!
  • This should be in completely.
    You downloaded it with reference doc and full source. It would be faster to look it up ;)