playMaker

Author Topic: Is PUN demo worker still working?  (Read 1820 times)

iradit

  • Playmaker Newbie
  • *
  • Posts: 12
Is PUN demo worker still working?
« on: May 18, 2021, 03:44:38 PM »
Hi

As I am struggling a bit for one thing regarding photon I decided to go back to the beginning and try again to install the Demo Worker scene to make sure I can have a look on critical parts of the setup. I never achieved to make the demo working.

Here is what I did for my last attempt:

  • install playmaker (1.9.1.p5)
  • install ecosystem (0.6.11)
  • install PUN (not PUN2) package from ecosystem, as mentionned here: https://hutonggames.com/playmakerforum/index.php?topic=22843.msg99930#msg99930:
    • nothing got installed and I get 2 console errors (see attachements "console error1" and "console error2")
  • i then try to install PUN2
    • some files got installed and I get 230 console errors ("console error3")
  • then I try to get the demo worker (even if I already know it's not gonna work at this point)
    • First I notice that there are 2 demo worker on the ecosystem. It seems that the unity version supported is the difference between them but very not intuitive as they have the same name
    • I tried 1 after the other and got the same error NullReferenceException (cfr "console error2")

That being said, I succeeded installing PUN2 in my main project a while ago. I probably did without passing by the ecosystem if I recall correctly. But I noticed the link to download it provided here is now a 404: https://hutonggames.fogbugz.com/default.asp?W927 

In an old attempt I remember actually having the demo scene available but I still had console errors and Playmaker could not load at that point. But I don't get there anymore so I don't know if it still the case.

Did I miss a step or is something wrong?

Thanks

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Is PUN demo worker still working?
« Reply #1 on: May 19, 2021, 07:59:00 AM »
Hi.
Have you installed the Photon Asset?

iradit

  • Playmaker Newbie
  • *
  • Posts: 12
Re: Is PUN demo worker still working?
« Reply #2 on: May 19, 2021, 04:14:07 PM »
Hi


I feel so stupid now... Thanks :D

So yes, after installing the Photon asset from the asset store I can now have access to the demo worker scene and see the playmaker fsms.

I'll give it my close attention in the next days.

Thanks  ;D ;D

iradit

  • Playmaker Newbie
  • *
  • Posts: 12
Re: Is PUN demo worker still working?
« Reply #3 on: May 26, 2021, 03:21:26 PM »
So I can indeed have a look at the FSMs.

But when I hit play it seems that the demo worker game is somehow broken (or that I missed one more setup step). Is this normal (as it got somehow outdated) and the purpose would just be to have access to the FSMs?

FYI, once in play mode I clicked on "create room", then the screenshot error occurs.

Also since it's based on PUN classic and not PUN2 I am wondering whether it's still relevant learning the logic here since things might have changed with PUN2 (which I use in my project).

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Is PUN demo worker still working?
« Reply #4 on: May 27, 2021, 08:43:43 PM »
Hi.
Have you imported the playmakerglobals mentioned on the error?

there should be a import globals on the playmaker top menu

iradit

  • Playmaker Newbie
  • *
  • Posts: 12
Re: Is PUN demo worker still working?
« Reply #5 on: May 28, 2021, 06:57:58 AM »
Hi,

I did it but through the project window, clicking on the PlayMakerGlobals.unitypackage which imported the globals (as when I do it again now, it tells me: nothing to import! , as already in the project). I just assume the orange message was just a permanent warning.

That being said, I noticed I forgot to join 1 of my screenshots to my previous post: the one with the FSM state error once I click on create room. This one might help a bit more understanding what's wrong in here.

Thanks for the help

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Is PUN demo worker still working?
« Reply #6 on: May 28, 2021, 07:50:27 AM »
Hi.
I never used PUN myself yet.
But i know its discussed regular on the Discord help channel.
I sure there will be people there that can help.

I will send a link to this thread on discord maybe someone can answer here.