Playmaker Forum

Bug Reporting => Playmaker Bug Reporting => Topic started by: westingtyler on October 08, 2018, 06:30:26 PM

Title: using a tmp obj variable lags out that fsm until deleted.
Post by: westingtyler on October 08, 2018, 06:30:26 PM
Area: Editor
Frequency: Always

1) What happened

here's a video, and in the middle we see a bug I think i reported before (the second bug is shown in the middle, one I think i already reported. it seems to be tied to the Set FSM Variable action somehow.), and toward the end, I show a third bug about state description: (

0:00 bug 1: obj variable lag
5:29 bug 2: Set FSM Variable state bug.
7:14 bug 3: new state description bug.

I created this fsm and was working in it. I added a Set Unity Object, to set the "needed tmp obj variable", to be another pre-designated one. Immediately that FSM became super laggy, and typing any text in states slowed to a crawl. I deleted this action, and the lag went away. I wrote a note in the start state of this template.

Then I tried using a Set FSM variable, with it set to an object, a tmp. Causes the same lag. Then i used a Set Property, which is still present in the template because it's unavoidable, and performance in that fsm has slowed to a crawl.

naming states, or typing in descriptions, types out a single character each second, even after I've pressed all the keys for the whole state name. I have to sit there and wait several seconds for the name of the state to type out.

I've had this problem with many FSMs since the last several months, and it's like even small fsms become laggy super fast, but now I've pinpointed it to this manipulation of a tmp object variable.

and any time I say tmp, I mean text mesh pros, but the 3d object versions, not the UGUI stuff I don't use. I'm still wishing for an update to this action ( : so I can use it.

i added the tmp objects to the fsm by dragging them into the variables tab.

Unity Info:
Unity Version: 2018.2.4f1
Playmaker Version: 1.9.0.f5
BuildTarget: StandaloneWindows64

System Info:
OS: Windows 10  (10.0.0) 64bit
Processor: AMD FX(tm)-4130 Quad-Core Processor
System Memory: 32749
Graphics Device: NVIDIA GeForce GTX 970
Title: Re: using a tmp obj variable lags out that fsm until deleted.
Post by: jeanfabre on October 11, 2018, 01:20:16 AM

 Thanks for reporting this ( you filed a bug report as well right?)

If you try on an empty scene with just one game object with tmp, does it do it still?


Title: Re: using a tmp obj variable lags out that fsm until deleted.
Post by: westingtyler on October 15, 2018, 10:15:26 PM
In the Submit Bug Report part of Playmaker in unity, the button that says "Submit bug report" has always been greyed out, so I have never been able to do this via Unity itself. i copied the info and pasted it here.

There's a red error thing in the bug report form that says "Unity 2017.1 has a bug that breaks this form. copy this info and email to, yada, yada."

I'm using 2018.2.4f1, though, so that's a little weird.

I just tried to duplicate this in an empty scene with one game object with tmp, and this performance hit did not happen. everything continued to work normally without lag.

Also check out the timestamps in the video, to see the other two bugs listed there in case they need looking into as well.

The making new states with descriptions bug still works in this empty scene.