playMaker

Author Topic: PlayMakerPUN action creat room errors[SOLVED]  (Read 2086 times)

muoran

  • Playmaker Newbie
  • *
  • Posts: 3
PlayMakerPUN action creat room errors[SOLVED]
« on: February 29, 2016, 07:08:42 AM »
Hi~Master
I use PlayMakerPUN action with PhotonCloud.
Unity show errors:"CreateRoom failed. Client is not on Master Server or not yet ready to call operations. Wait for callback: OnJoinedLobby or OnConnectedToMaster."when I use "PhotonNetworkCreateRoom" action.
Everything is ok,such as "PhotonNetwork.connectionState changed from 'Disconnected' to 'Connecting'"、“PhotonNetwork.connectionState changed from 'Connecting' to 'InitializingApplication'”、“PhotonNetwork.connectionState changed from 'InitializingApplication' to 'Connected'”,but the "creat room" is wrong.
PlayMaker Photon Proxy is already in scene.
I also used your demo "PUNDemoWorker" or Unity Asset Store_"Easy PUN Setup for Playmaker" ,but they has the same problems..
So Why? Maybe I shoud JoinedLobby or OnConnectedToMaster,but how can i do this? I have used this action "PhotonNetworkSetAutoJoinLobby" or use PhotonServerSettings "Auto-Join Lobby"、"Enable Lobby Stats",but they seem not work......
Version:
Unity:5.0.0f4
Playmaker:1.7.8.2
PhotonPun:1.6.5 or 1.6.6 all show the creat room faild
Please help me ...
I like PlayMaker so much!
Thanks a lot~~~
« Last Edit: March 11, 2016, 12:47:04 AM by jeanfabre »

600

  • Moderator
  • Hero Member
  • *****
  • Posts: 715
    • Flashing Lights
Re: PlayMakerPUN action creat room errors
« Reply #1 on: March 01, 2016, 08:41:58 AM »
Will post this while it's fresh:
Solved here - http://hutonggames.com/playmakerforum/index.php?topic=12339.0

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PlayMakerPUN action creat room errors[SOLVED]
« Reply #2 on: March 11, 2016, 12:48:54 AM »
Hi,

 Don't forget to thoroughly check the doc on how to setup photon ( for the demo, but this applied to most projects)

http://hutonggames.com/playmakerforum/index.php?topic=2200.msg9694#msg9694

Bye,

 Jean