UnAllocateViewID problem
Options
Hello I try to unallocate viewID from object where I destroy component PhotonView but I steel get warning :
I Destroy photonView component but It look like somewhere photon store information about GO with pV component.
UnAllocateViewID() should be called after the PhotonView was destroyed (GameObject.Destroy()). ViewID: 3 still found in: View (0)3 on Item_photon_item_#21_ItemDB_PFB(Clone) (scene)
I Destroy photonView component but It look like somewhere photon store information about GO with pV component.
var pV = PickedUpItem.GetComponent<PhotonView>(); var oldViewID = pV.viewID; Destroy(pV); PhotonNetwork.UnAllocateViewID(oldViewID);
0