Need a bit help with photon 4
Options
Fufuffu
✭
I had this line of code:
void Awake() { GetComponent<PhotonView>().observed = this; }but i get an error when updated to photon 4 , is it removed , it changed?? (it worked perfectly before update)
0
Comments
-
Hi @Fufuffu,
which PUN version did you use previously? According to the changelog from the latest PUN version PhotonView.observed has been removed.Removed: Obsolete PhotonView.observed. Since a while, each PhotonView has a list of observed components instead. If you have a very old (!) project, check your PhotonViews and make sure they still observe the scripts you meant to observe. Newer projects won't be affected.2