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.

Topics - mekjal

Pages: [1]
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 / 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!

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?


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 / 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?


PlayMaker Help / Enum Wizard gives error
« on: April 22, 2018, 10:04:43 AM »
When I tried importing the Enum Wizard into Unity 2017, it gave me this error:
Assets/PlayMaker Utils/Editor/PlayMakerCurrentEventDataEditor.cs(74,28): error CS0117: `HutongGames.PlayMaker.Ecosystem.Utils.PlayMakerInspectorUtils' does not contain a definition for `RemoveFocus'

What to do?

Pages: [1]