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

PunRPC's - Null Exception

$
0
0
I've searched around, but I'm still unsure what to do in this situation:

I create a class that extends from Photon.PunBehaviour - which, as the documentation would imply, means that it has an inherent photonView element.

However, when I try to call photonView.RPC(), I get an exception which tells me that my inherited photonView has not been initialized. How would I go about initializing it, seeing as I seem have read-only access? What syntax might I use?

Thanks!

Viewing all articles
Browse latest Browse all 15755

Trending Articles