Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - mekjal

Pages: [1] 2
Pre-release Discussion / Playmaker 2.0
« on: February 20, 2019, 10:29:29 AM »
Is there any information on PM 2.0?  Potential release...roadmap...features...?

Would love to hear what's next for Playmaker :)

PlayMaker Help / Re: Set Object variable - faster scrolling?
« on: November 18, 2018, 11:58:58 AM »
As far as i know it is not possible (unity limitation, not playmaker)
But you can use letters to jump to the pressed letter.

Strange that its a Unity limit since its just a scroll list.  Makes it really cumbersome.
Thanks for the letters-to-jump tip, though!

PlayMaker Help / Set Object variable - faster scrolling?
« on: November 17, 2018, 01:36:53 PM »
Is there a way to scroll through all of the potential objects when you are setting the Object variable?  I have a lot of scripts in my project, so its extremely slow scrolling one by one.  Thanks!

Share New Actions / Re: Steamworks.NET BETA
« on: October 29, 2018, 02:02:15 PM »
Totally reasonable to ask for payment!

PlayMaker Help / Re: Will PM support PUN v2?
« on: August 30, 2018, 08:21:44 AM »
Great, thanks!

PlayMaker Help / Will PM support PUN v2?
« on: August 29, 2018, 12:28:30 PM »
Just released, so want to know what kind of support it has in PM?

PlayMaker Help / [Photon] How to set Observed Component at runtime?
« on: June 02, 2018, 02:09:28 PM »
I need to set an Observed Component during runtime. 

Here's my set up:

1) I pick an object in the scene at random
2) I add ScriptToBeObserved to the object
3) I add PhotonView to the object
4) I Set Property of the PhotonView in photonView.ObservedComponents.Item with the component value of ScriptToBeObserved

When I run, I get a null reference exception:
NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMaker.ReflectionUtils.SetMemberValue (System.Reflection.MemberInfo[] memberInfo, System.Object target, System.Object value) (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ReflectionUtils.cs:351)
HutongGames.PlayMaker.FsmProperty.SetValue () (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmProperty.cs:366)
HutongGames.PlayMaker.Actions.SetProperty.OnEnter () (at Assets/PlayMaker/Actions/UnityObject/SetProperty.cs:26)
HutongGames.PlayMaker.FsmState.ActivateActions (Int32 startIndex) (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)
HutongGames.PlayMaker.FsmState.OnEnter () (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)
HutongGames.PlayMaker.Fsm.EnterState (HutongGames.PlayMaker.FsmState state) (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2695)
HutongGames.PlayMaker.Fsm.SwitchState (HutongGames.PlayMaker.FsmState toState) (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2642)
HutongGames.PlayMaker.Fsm.UpdateStateChanges () (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2570)
HutongGames.PlayMaker.Fsm.UpdateState (HutongGames.PlayMaker.FsmState state) (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2711)
HutongGames.PlayMaker.Fsm.Update () (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1934)
PlayMakerFSM.Update () (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:539)

Image of Adding Component of type PhotonView:

Image of Set Property of PhotonView:

Image of the Object I'm setting to the ObservedComponents.Item:

I've searched through all the forums and haven't found any solution to this.

Any ideas?


Log isn't much either.  Thanks though!

Unfortunately not a memory issue - I've tried running one build on another computer and the other on this one.  So even when only one copy is running on one computer, it still freezes when one of the builds connects to the room creator.

I've spent a week banging my head trying to figure out what the problem is. Every time I thought I isolated it to particular code and fixed it, it would freeze. This led me to believe it was something overall with Photon/PUN or how Playmaker works with it.

Here is a video example:

What happens:
I run two client executables of the game. One client creates the room, the other client joins it.

The first two times I do this, it runs perfectly. Each time I exit out of the builds.
The third time, the client that created the room locks up and crashes the build.

There is no flow for reproduction. Sometimes its the second time I run the build. Sometimes the first. Sometimes the third. But at some point, the creator build always locks up. Same thing happens whether I'm in the Unity editor or a compiled build. I can barely even playtest my game because the Unity editor freezes constantly.

I tried a Disconnect() when the Application quits, in case it was some cleanup issue, but that doesn't help.

Build with: Unity 2017.3.1f1
PUN version: 1.90 (currently using the Free version from the Asset Store until I release the game)

Link to download the compiled build if that helps:

Help would be greatly appreciated! I'm not sure what is left for me to do to try and debug this.

General Discussion / Re: Unity 2018 compatibility?
« on: May 08, 2018, 10:11:16 AM »
Hi Alex - any ETA on 1.9?  Do you happen to have an update list of changes?

Definitely agree with the above!

I think there is also a branding issue.  Not only do most people see Playmaker as something for simple games, even Hutong advertises it that way!  The emphasis always seems to be on prototyping games.

I don't see why the focus wouldn't be on production quality games.  My game is a complex strategy sim, along the lines of Rimworld.  No reason it can't use Playmaker.

There's also the name - "Playmaker" comes across as something you use to just learn logic or make a prototype.  I think PM just needs a facelift across the board and people will start taking it seriously :)

I don't have a ton of experience with Bolt, but my first impressions:

-Much more modern and slick look and feel to the interface.  To be honest, the Playmaker visuals haven't changed in years (I believe the website is identical to when I looked at least five years ago :)).  This shouldn't make a huge difference, but there is something to be said about nice design.  Its sort of intangible, but you get more excited using something pretty.

-Bolt is more difficult because you have to compose everything yourself.  Playmaker let's you shortcut a lot of things as each action is something of a pre-made recipe. 

-Bolt is waay better at grouping - Super States and grouping.  I know this has been talked about for Playmaker for a long time, but its pretty important.  Playmaker FSMs get unwieldy without any organizational structure.  I can't imagine it would be too difficult to implement?

-Bolt claims (and the reason I even got into it) that working with your own scripts within the visual editor was a piece of cake.  I found that to not be true.  Maybe I didn't do it right, but it was a slow process.  If this does work, it would be a big advantage to Playmaker.  Creating custom actions, to be honest, is still a bit of pain.  I'd much rather call methods in my own scripts, but without Reflection so that performance wasn't compromised with Call/Invoke. 

-But by far the biggest reason I chose Playmaker over Bolt:  documentation and community.  I tried searching for a simple answer to an issue in Bolt and could find no documentation and no forum threads about it.  When I finally tracked one down, it was a due to a bug in Bolt.  That worried me.  Playmaker has been around much longer so its more dependable.  As someone not new to programming logic, but new to C#, Playmaker has been a lifesaver. 

I always worry if I'm doing things "right" and if Playmaker will cause performance issues, but I think I'm following most best practices.  I'm a bit obsessed with finding best practices for PM, so I've read every thread on it. 

tldr; Bolt is prettier and has greater potential for direct script interaction.  Playmaker is more battle tested, more extensive documentation and community, and much better to do things quickly.

As a final note, I'd really love if there was an up-to-date roadmap!  It would be great to know what features are coming.

Thanks Jean - I was worried that with a small team, Playmaker was stagnating.  PM has finally got me back into programming after all these years, so I want it to keep shining!  I find it much easier to work with than Bolt, so look forward to seeing what new features there will be (hopefully State grouping :))

General Discussion / Is Playmaker still in development? Roadmap?
« on: April 29, 2018, 11:02:50 AM »
Love Playmaker but the roadmap seems to be outdated and same with the Trello board.

Is Playmaker still actively in development?  How can we learn about next releases and what features are in the pipeline?


Pages: [1] 2