error cs0535 in scripts photon

i want to make a multiplayer game by using photon so when i add a script in my camera a compiler error is shown the erro is Assets\Photon\PhotonChat\Demos\DemoChat\IgnoreUiRaycastWhenInactive.cs(4,59): error CS0535: 'IgnoreUiRaycastWhenInactive' does not implement interface member 'ICanvasRaycastFilter.IsRaycastLocationValid(Vector2, Camera)'

i don't know how i can resolve this problem

Best Answer


  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @Inpmrk,

    Thank you for choosing Photon!

    What Unity version and PUN version do you use?
  • this error is appear in whatever the version of pun that i use
    but the version of unity that i have is 2018.3.6f1
    please i really need a solution
  • but what if i want that in that project