[PUN2 Bug] photonView.isMine is updated later than OnOwnerChange callback is invoked.

Options

Problem: Hi, it seems that in the context of the OnOwnerChange callback newOwner can be local, photonView.owner is the same as newOwner, but photonView.isMine is false. This means something like NetworkDestroy(this.gameObject) is not callable from the OnOwnerChange function unless you wait 1 frame using a coroutine or similar.

Solution: The callback should be called after photonView.isMine gets updated.