Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Warning "Had to lookup view that wasn't in photonViewList"

$
0
0
Hi,
I'm having this warning showing up "Had to lookup view that wasn't in photonViewList: View (0)1002 on ReadyZone (3)". To quickly explain the who and why, it's happening in a script when I call a photonView.RPC for PhotonTargets.All. I manually generated the viewID for this object with PhotonNetwork.AllocateViewID (), and successfully transfered it to every clients (no idea if it's linked, but I don't have that kind of warning with my player, instantiated with PhotonNetwork).

So the warning is showing up as soon as I call the RPC. I've looked up the code that generates the warning and it comes from the GetPhotonView function in NetworkingPeer.

if (view.didAwake)
{
Debug.LogWarning("Had to lookup view that wasn't in photonViewList: " + view);
}

I don't understand why a view should generate an warning if it went through it's awake .. but if it's here I guess there must be an explanation. Does anyone know what am I doing wrong ?

Viewing all articles
Browse latest Browse all 15755

Trending Articles