Problem with PhotonNetwork.Instantiate after updating PUN 2

I've been using this since a while, but in the moment I updated I'm not able to make it to work again. The error is the following one:
PhotonView ID duplicate found: 1002. New: View 1002 on ball(Clone)(Clone) old: View 1002 on ball(Clone) . Maybe one wasn't destroyed on scene load?! Check for 'DontDestroyOnLoad'. Destroying old entry, adding new. UnityEngine.Debug:LogError(Object) Photon.Pun.PhotonNetwork:RegisterPhotonView(PhotonView) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetworkPart.cs:843) Photon.Pun.PhotonView:Awake() (at Assets/Photon/PhotonUnityNetworking/Code/PhotonView.cs:266) UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion) BallMovement:OnCollisionEnter(Collision) (at Assets/Mia/Scripts/BallMovement.cs:61)

And, for some reason, the balls "duplicate" infinitely. That's just since I updated PUN. Hope someone can help me.


Comments