playMaker

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

Murcho

  • 1.2 Beta
  • Junior Playmaker
  • *
  • Posts: 54
    • View Profile
1.2 Reproducible bug [FIXED]
« on: October 04, 2011, 10:51:37 PM »
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, 02:07:42 PM by alexchouls »

Alex Chouls

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

Murcho

  • 1.2 Beta
  • Junior Playmaker
  • *
  • Posts: 54
    • View Profile
Re: 1.2 Reproducible bug
« Reply #2 on: October 05, 2011, 03: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!