Search Unity

Unity 2019 + PUN2 + Playmaker = Error CS0117

Discussion in 'Editor & General Support' started by Taglemec, Jan 26, 2020.

  1. Taglemec

    Taglemec

    Joined:
    Aug 14, 2017
    Posts:
    3
    Hello,

    I hope Im not at the wrong place to explain my problem ^^
    I will explain what I have done to obtain 6 errors with a new project as I plan to make a little multiplayer game.
    Let's go step by step

    1- I create a new project in Unity 2019.2.19f1 (64-bit)
    2- I imported Playmaker v1.9.0.p19
    3- I imported Playmaker Ecosystem
    4- I Imported PUN2 from the Asset Store tab inside Unity

    Everything is alright and then :

    5- I import "Play Maker Pun2" from the ecosystem.

    Now I have the following 6 errors :

    Assets\PlayMaker PUN 2\Scripts\Utils\PlayMakerPhotonLUT.cs(84,22): error CS0117: 'ClientState' does not contain a definition for 'ConnectedToGameServer'

    Assets\PlayMaker PUN 2\Scripts\Utils\PlayMakerPhotonLUT.cs(85,22): error CS0117: 'ClientState' does not contain a definition for 'ConnectedToMasterServer'

    Assets\PlayMaker PUN 2\Scripts\Utils\PlayMakerPhotonLUT.cs(87,22): error CS0117: 'ClientState' does not contain a definition for 'ConnectingToGameServer'

    Assets\PlayMaker PUN 2\Scripts\Utils\PlayMakerPhotonLUT.cs(89,22): error CS0117: 'ClientState' does not contain a definition for 'ConnectingToMasterServer'

    Assets\PlayMaker PUN 2\Scripts\Utils\PlayMakerPhotonLUT.cs(92,22): error CS0117: 'ClientState' does not contain a definition for 'DisconnectingFromGameServer'

    Assets\PlayMaker PUN 2\Scripts\Utils\PlayMakerPhotonLUT.cs(93,22): error CS0117: 'ClientState' does not contain a definition for 'DisconnectingFromMasterServer'


    As I know nothing about coding I cannot understand if I have done something wrong.
    If anyone could help me it would be greatly appreciated ^^

    If I remember correctly I have tried with this 3 Unity versions and I have a set of errors for each one.
    Unity 2019.2.19f1 (64-bit)
    Unity 2019.1.0f2 (64-bit)
    Unity 2018.3.11f1 (64-bit)

    Bye,

    Tagle
     
  2. UnityMaru

    UnityMaru

    Community Engagement Manager PSM

    Joined:
    Mar 16, 2016
    Posts:
    1,227
    Hey there!

    I'd usually suggest raising this with the creators of the Asset directly. It could be that they have more information to help resolve this, as Unity do not typically provide support for third party assets sold on the Asset Store. Below are the Publisher pages of the assets you've mentioned which include their contact details.

    PUN2: https://assetstore.unity.com/publishers/298
    PlayMaker: https://assetstore.unity.com/publishers/311

    Best of luck in getting this resolved!
     
    Mauri likes this.
  3. Taglemec

    Taglemec

    Joined:
    Aug 14, 2017
    Posts:
    3