playMaker

Author Topic: [SOLVED]PlayMakerPUN action is great,but "creat room" error?  (Read 2944 times)

muoran

  • Playmaker Newbie
  • *
  • Posts: 3
[SOLVED]PlayMakerPUN action is great,but "creat room" error?
« on: February 29, 2016, 07:17:09 AM »
Hi~Seniors
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 02, 2016, 01:42:28 AM by jeanfabre »

600

  • Moderator
  • Hero Member
  • *****
  • Posts: 728
    • 600
Re: PlayMakerPUN action is great,but "creat room" error?
« Reply #1 on: February 29, 2016, 07:35:10 AM »
Hello,

Try changing the Region on PhotonServerSettings to Best Region or other.


muoran

  • Playmaker Newbie
  • *
  • Posts: 3
Re: PlayMakerPUN action is great,but "creat room" error?
« Reply #2 on: March 01, 2016, 07:05:49 AM »
Hello,

Try changing the Region on PhotonServerSettings to Best Region or other.

Oh,God! It worked!
Millions of thanks!
You are a so kind and smart man!

600

  • Moderator
  • Hero Member
  • *****
  • Posts: 728
    • 600
Re: PlayMakerPUN action is great,but "creat room" error?
« Reply #3 on: March 01, 2016, 08:39:41 AM »
Hey no problem, I had this error many times ;)