playMaker

Author Topic: 1.2 Reproducible bug [FIXED]  (Read 3711 times)

Murcho

  • 1.2 Beta
  • Junior Playmaker
  • *
  • Posts: 54
1.2 Reproducible bug [FIXED]
« on: October 05, 2011, 01:51:37 AM »
Have spent some time away from PlayMaker due to work, but finally getting back into it.  Got a bug straight off the bat :P.

If you add an FSM to a GameObject via the drop down menu "PlayMaker->Components->Add FSM To Selected Objects" with the PlayMaker Editor Window closed, this error occurs :

NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMakerEditor.FsmEditor.SelectState (HutongGames.PlayMaker.FsmState state, Boolean frameState)
HutongGames.PlayMakerEditor.FsmBuilder.AddFsmToSelected ()
PlayMakerMainMenu.AddFsmToSelected () (at Assets/PlayMaker/Editor/PlayMakerMainMenu.cs:121)

This error does not appear if the editor window is open and the drop down menu is used, and does not happen if adding an FSM directly through the Editor Window.
« Last Edit: November 05, 2011, 05:07:42 PM by alexchouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: 1.2 Reproducible bug
« Reply #1 on: October 05, 2011, 02:08:20 PM »
Good catch! Fixed in 1.2.1

Murcho

  • 1.2 Beta
  • Junior Playmaker
  • *
  • Posts: 54
Re: 1.2 Reproducible bug
« Reply #2 on: October 05, 2011, 06:27:11 PM »
I've spent too long using Facebook.  I just went looking for a 'like' button on your post.

Cheers Alex, speedy as always!