Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: TheWarRoom on December 04, 2014, 02:51:33 AM

Title: PuN and Playmaker?
Post by: TheWarRoom on December 04, 2014, 02:51:33 AM
I am getting an error after adding playmaker and PUN to my scene. Currently Using Unity 4.7 , Playmaker 1.7.7.2 , PUN v1.28 After adding it to my scene i recieve the error

Assets/Photon Unity Networking/PlayMaker/Actions/PhotonNetworkConnectManually.cs(35,39): error CS0117: `PhotonNetwork' does not contain a definition for `Connect'

I have tried with an empty scene as well.
Title: Re: PuN and Playmaker?
Post by: MABManZ on December 04, 2014, 04:06:00 AM
You may be using the wrong version of PUN. Use the version provided in the Playmaker wiki here: https://hutonggames.fogbugz.com/default.asp?W928
Title: Re: PuN and Playmaker?
Post by: TheWarRoom on December 04, 2014, 09:32:14 AM
I have version 1.28.3 the version listed in the link you sent.
Title: Re: PuN and Playmaker?
Post by: jeanfabre on December 04, 2014, 11:38:05 AM
Hi,

 Something is odd, I double checked and all is well here. So maybe you should delete the "Photon Unity Networking" folder and reimport again.

 Bye,

 Jean
Title: Re: PuN and Playmaker?
Post by: jlmarc33 on December 27, 2014, 11:47:56 AM
Hi,
I would like to use Photon PUN+ with Playmaker (for Android use), but compliance between these components is still made with "old" 1.28 Photon PUN release   :(

You said a few months ago (May) that this wil be available in PM 1.8...
When will it be possible to use Photon PUN+ (v1.50.1, 2014/12/18 release) with PM ?
Is there a possibility to use actual PUN+ with some change in 1.7.7.2 PM ?
Title: Re: PuN and Playmaker?
Post by: jeanfabre on December 29, 2014, 01:40:20 AM
Hi,

 I just tested and it works. PUN 1.5 doesn't break anything. Do you experience issues? if you update pun, make sure you first cleanup the "Photon Unity Networking" folder and only leave in there the Playmaker folder, then you can import pun from the asset store and all should work fine.


 Bye,

 Jean
Title: Re: PuN and Playmaker?
Post by: jlmarc33 on January 01, 2015, 06:31:00 PM
Hi,
I updated as said:
. Free PUN 1.28 files erased,
. PUN+ 1.50 installed,
. In "Photon Unity Networking" folder, new installation of 1.7.7.2 Playmaker \ Actions folder
I use Easy PUN Setup Playmaker package, and i optained these errors:
Assets/Photon Unity Networking/PlayMaker/Actions/PhotonNetworkConnectManually.cs(35,39): error CS0117: `PhotonNetwork' does not contain a definition for `Connect'
Assets/Photon Unity Networking/PlayMaker/Actions/PhotonNetworkConnectManually.cs(38,25): error CS0103: The name `PlayMakerPhotonProxy' does not exist in the current context
Assets/Photon Unity Networking/PlayMaker/Actions/PhotonNetworkConnectManually.cs(39,25): error CS0103: The name `PlayMakerPhotonProxy' does not exist in the current context

Could you explain how to update with last PUN+ 1.5, or produce a working PM "minor" release before v1.8 ?
Thanks
Title: Re: PuN and Playmaker?
Post by: jeanfabre on January 16, 2015, 05:10:31 AM
Hi,

 get the latest PlayMaker support here on the wiki. simply delete the Photon Unity network folder and import that package from the wiki:

https://hutonggames.fogbugz.com/?W928

Bye,

 Jean