problem importing assets PhotonNetwork with Photon Chat

after importing the 2 I get this error
Does anyone have a solution?

Answers

  • up

    only import photonchat and Get this erro
    https://ctrlv.cz/dCoB

  • S_Oliver
    S_Oliver ✭✭✭
    First post : may re-import the assets.
    Seconds post: You inherit from Monobehaviour and IChatClientListener this is a Interface, if you inherit from, your Script need all the Methods wich u see in the small popup from Visual Studio.Visual Studio can generate all the Methods if you click on "show potential fixes".

    https://unity3d.com/de/learn/tutorials/topics/scripting/interfaces
  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @Valakinhas,

    Thank you for choosing Photon!

    PUN includes Photon Chat.
    If you need both then just import PUN from the asset store.
    So to fix your problems start from a new fresh clean project and import PUN.
  • Hi,
    It seems that I have the same problem, and importing PUN in new fresh project works, but I need to implement it in our exxisting project. I'd really like to use PUN but this makes it impossible, are there other options?
    thanks
  • Which PUN are you using? Classic or v2? And what's in your current project?
    You could attempt a copy+paste of the PUN files from the (otherwise) empty project to yours?