playMaker

Author Topic: Playmaker loses focus when editing FSM  (Read 384 times)

Athin

  • Junior Playmaker
  • **
  • Posts: 98
    • View Profile
Playmaker loses focus when editing FSM
« on: February 24, 2019, 12:22:50 AM »
Hey guys,

I've updated to Unity 2018.3.2f1 and just did a new playmaker install as well on my old project.  Now with the new prefab system, any time I try to edit a string in the FSM's, it tends to de-focus after I type in 1 or 2 letters.  Renaming the FSM for Ex will cause this. 

If I drag it into the scene, I can edit the instance and drag it back into prefab but now I get a warning for every change I make in the game object.  Its getting really bulky trying to do anything in this system.

Is anyone else having similar problems or know a way to fix this?

Thanks
« Last Edit: February 24, 2019, 12:56:23 AM by Athin »

ch1ky3n

  • Junior Playmaker
  • **
  • Posts: 71
    • View Profile
Re: Playmaker loses focus when editing FSM
« Reply #1 on: February 24, 2019, 04:41:17 AM »
Yup, it has been plaguing me as well, especially when editing prefab. I'm not sure if it is a playmaker bug though. It also happened to me when editing collider size, transform, etc. Try to:

Restarting Unity or
Go to play mode, and edit the FSM during the play mode then stop it. Sometimes the bugs are gone by itself


Athin

  • Junior Playmaker
  • **
  • Posts: 98
    • View Profile
Re: Playmaker loses focus when editing FSM
« Reply #2 on: February 24, 2019, 04:46:52 AM »
Funny you say that as this issue has just....disappeared.  Was just trying to work through it with Copy and paste to kinda side step it. When I forgot to do that and just tried to rename a state, it worked fine.  Issue seems to be gone for now for whatever reason but I fear it may return once I start up again tomorrow.  Would still like to know a fix for this if/when it comes back.

Thanks

ch1ky3n

  • Junior Playmaker
  • **
  • Posts: 71
    • View Profile
Re: Playmaker loses focus when editing FSM
« Reply #3 on: February 24, 2019, 04:59:56 AM »
trust me
I can hear it says "I'll be back!"

Athin

  • Junior Playmaker
  • **
  • Posts: 98
    • View Profile
Re: Playmaker loses focus when editing FSM
« Reply #4 on: February 26, 2019, 07:53:29 PM »
Has anyone else experience this or better yet knows a fix?  Issue keep appearing and its a huge pain to work around currently.

Any help would be greatly appreciated!

Thanks

Athin

  • Junior Playmaker
  • **
  • Posts: 98
    • View Profile
Re: Playmaker loses focus when editing FSM
« Reply #5 on: March 17, 2019, 04:14:07 AM »
Going to give this one a bumb as this problem seems to be getting worst and I can't find a solution.

I've been typing in the FSM descriptions to then copy and paste it into the FSM name for a quick go around but now suddenly that isn't working anymore.  Again it seems like I can type in 1-2 letters before Unity acts like I clicked off of it.  I've tried updating and new projects but nothing helped. 

Has anyone else experience this or found a fix for it?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4192
    • View Profile
    • jinxtergames
Re: Playmaker loses focus when editing FSM
« Reply #6 on: March 17, 2019, 09:09:23 AM »
Hi.
What PlayMaker version are you using?
i believe the current last version is 1.9.0v12

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3605
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Playmaker loses focus when editing FSM
« Reply #7 on: March 17, 2019, 10:20:19 AM »
Generally, focus problems are caused by another editor window pulling focus to itself. Try resetting the layout, see if that fixes the issue, then add windows back into the layout until it breaks. I seem to remember the Global Variables window causing focus problems, but I thought we fixed that issue... I'll investigate.

Athin

  • Junior Playmaker
  • **
  • Posts: 98
    • View Profile
Re: Playmaker loses focus when editing FSM
« Reply #8 on: March 17, 2019, 03:38:09 PM »
Hey guys,

Thakns for the response. I'm not sure the exact version I got (Currently at work) but would be pretty up to date as I've only updated it last week.

I'll try to close some of my editor windows down and narrow it down to which one (If thats the issue)  I do have the global one open and tend to have a ton of windows in general open too.  Next time I sit down on it, I'll see if that helps.

Thanks guys.

Athin

  • Junior Playmaker
  • **
  • Posts: 98
    • View Profile
Re: Playmaker loses focus when editing FSM
« Reply #9 on: March 23, 2019, 03:19:35 AM »
Just replying for others to see since I saw others had this issue.

This was 100% caused by the Global Variable Window.  As soon as I close that tab, it went away and never lost focus. Tried a few other windows and re-opening the global window for testing and can confirm.  If anyone has this issue then close the Global Variable window.

Playmaker Version - 1.9.0
Unity Version - 5.5.1f1

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4192
    • View Profile
    • jinxtergames
Re: Playmaker loses focus when editing FSM
« Reply #10 on: March 23, 2019, 07:58:58 AM »
Hi.
You can find the exact playmaker version in PlayMaker/Help/About PlayMaker...
 current latest is 1.9.0p13