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 ✭✭✭✭✭
    Answer ✓
    Hi @Inpmrk,

    Most likely you have import issues.
    Try to create a new clean empty project and import PUN2 only there.

Answers

  • 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
  • JohnTube
    JohnTube ✭✭✭✭✭
    Answer ✓
    Hi @Inpmrk,

    Most likely you have import issues.
    Try to create a new clean empty project and import PUN2 only there.
  • but what if i want that in that project