playMaker

Author Topic: Playmaker and PUN+  (Read 4306 times)

xunxun

  • Junior Playmaker
  • **
  • Posts: 53
Playmaker and PUN+
« 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,

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker and PUN+
« Reply #1 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

xunxun

  • Junior Playmaker
  • **
  • Posts: 53
Re: Playmaker and PUN+
« Reply #2 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker and PUN+
« Reply #3 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

meaphly

  • Playmaker Newbie
  • *
  • Posts: 26
Re: Playmaker and PUN+
« Reply #4 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?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker and PUN+
« Reply #5 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker and PUN+
« Reply #6 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

xunxun

  • Junior Playmaker
  • **
  • Posts: 53
Re: Playmaker and PUN+
« Reply #7 on: October 01, 2014, 06:19:40 AM »
Please update actions for PUN+ 1.28.1

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker and PUN+
« Reply #8 on: October 05, 2014, 06:37:28 AM »
Hi,

 yes, this is planned.

 Bye,

 Jean

xunxun

  • Junior Playmaker
  • **
  • Posts: 53
Re: Playmaker and PUN+
« Reply #9 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?)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker and PUN+
« Reply #10 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