PhotonView with ID2 has no (Non-static) method "UpdateHealthBar" marked with punRPC(C#) args int32

Options
(full title shown in the first image)


Hey im currently having a problem with my HP header, I have a PhotonView on it and a PunRPC on my updateHealthBar.

https://gyazo.com/b4eb1d894dabf7c6d00f4a998b0e433e

https://gyazo.com/09797057eb27938abaf91907aa796baf

https://gyazo.com/4da685437be5eb38715ebb5fcff9bc4a

Im not exactly sure what the problem could be, but at first i just thought that it couldnt find my Photonview on the headerInfo gameobject, but now i dont know anymore. So if anyone has any idea of how to fix it that would be great.


Comments