Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: xunxun on December 04, 2013, 02:37:18 AM

Title: Playmaker and PUN+
Post by: xunxun on December 04, 2013, 02:37:18 AM
hi,

I just bought PUN+ and import it into a project with existed Playmaker and get these errors.

Unity 4.2.2. Playmaker and PUN+ Latest

====
Assets/Photon Unity Networking/PlayMaker/Actions/PhotonNetworkCreateRoomAdvanced.cs(78,39): error CS1502: The best overloaded method match for `PhotonNetwork.CreateRoom(string, bool, bool, int, ExitGames.Client.Photon.Hashtable, string[])' has some invalid arguments

Assets/Photon Unity Networking/PlayMaker/Actions/PhotonNetworkCreateRoomAdvanced.cs(78,39): error CS1503: Argument `#5' cannot convert `System.Collections.Hashtable' expression to type `ExitGames.Client.Photon.Hashtable'
=====

Does PUN+ work with Playmaker? or how can I use PUN+ as default Photon in Playmaker?

please help,
Title: Re: Playmaker and PUN+
Post by: jeanfabre on December 04, 2013, 04:41:05 AM
Hi,

 yes, it works, it's simply that pun+ is a newer version than the one shipped with PlayMaker at the moment.

 pm me, and I will send you the current beta package ( that will be shipped in the coming playmaker release)

bye,

 Jean
Title: Re: Playmaker and PUN+
Post by: xunxun on December 04, 2013, 05:04:44 AM
Thanks Jean,

I downloaded Playmaker 1.7.7 Beta 1 and these errors are gone. just a warning is

Assets/Photon Unity Networking/Plugins/PhotonNetwork/SocketUdpNativeDllImport.cs(138,25): warning CS0219: The variable `state' is assigned but its value is never used
Title: Re: Playmaker and PUN+
Post by: jeanfabre on December 04, 2013, 05:08:56 AM
Hi,

 that's already within Photon itself, you should contact them directly, as it's outside my reach

Bye,

 Jean
Title: Re: Playmaker and PUN+
Post by: meaphly on May 10, 2014, 11:07:26 AM
I have Playmaker 1.7.7 1 and get only errors when importing PUN+ starts from ConnectManually and goes nearly to every script. Any news on that?
Title: Re: Playmaker and PUN+
Post by: jeanfabre on May 13, 2014, 12:50:28 AM
Hi,

 The latest version of pun ( and pun+) will be supported on the next PlayMaker release. Meanwhile you need to stick to the current supported version shipped with PlayMaker. I know it doesn't help with pun+ since you likely got it because you use Unity Indie.

pm me if you need early access to this ( but this will be a beta and this beta cycle is sensitive, so I would not use it in production just yet).

Bye,

 Jean
Title: Re: Playmaker and PUN+
Post by: jeanfabre on July 15, 2014, 05:46:12 AM
Hi,

 You can now download the latest version of Photon package for PlayMaker:

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

 Bye,

 Jean
Title: Re: Playmaker and PUN+
Post by: xunxun on October 01, 2014, 06:19:40 AM
Please update actions for PUN+ 1.28.1
Title: Re: Playmaker and PUN+
Post by: jeanfabre on October 05, 2014, 06:37:28 AM
Hi,

 yes, this is planned.

 Bye,

 Jean
Title: Re: Playmaker and PUN+
Post by: xunxun on April 09, 2015, 02:12:05 AM
Please update for PUN+ 1.5.1

I some error:
====
Assets/Photon Unity Networking/Plugins/PhotonNetwork/Views/PhotonAnimatorView.cs(369,32): error CS1061: Type `PhotonStream' does not contain a definition for `PeekNext' and no extension method `PeekNext' of type `PhotonStream' could be found (are you missing a using directive or an assembly reference?)
Title: Re: Playmaker and PUN+
Post by: jeanfabre on April 09, 2015, 02:26:25 AM
Hi,

 yes, this is planned:

https://trello.com/c/NpQ0cFPv/109-photon-v1-5-update

 Bye,

 Jean