playMaker

Author Topic: Adding fields to state actions causes un-modified states to crash  (Read 1239 times)

illumina

  • Playmaker Newbie
  • *
  • Posts: 1
I am wondering it here has been a solution to the following problem:

1) Create a state with a custom action. Save it.
2) A few days later, add a field to the custom action.
3) Build a standalone player.
4) Run the original state that had the custom action.
5) This causes an exception "Error loading state" due to, presumably, the new field being added to the FsmStateAction without resaving the old state.

Is there a fix for this? It's totally impractical to use PlayMaker if we have to go through manually and re-instantiate/save every state machine. We have a team of coders working on a project so this is obviously a major issue.

Thanks

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3998
  • Official Playmaker Support
    • LinkedIn
Re: Adding fields to state actions causes un-modified states to crash
« Reply #1 on: March 03, 2014, 07:10:31 PM »
This should be fixed in 1.7.7. What version are you using?