Hi guys and thanks for the amazing job with Playmaker
,
I had to reimport my project and I've stumbled upon a series of errors in the console.
"Error Loading Action: State 1 : HutongGames.PlayMaker.Actions.SetVisibility : resetOnExit
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection."
Clicking on my character gives a "Disconnected FSM instance" alert and clicking on "Apply" doesn't change anything.
The error loops for all the states in all the FSMs.
See the attached images for reference.
The scene has just a main char with 3 FSMs on it:
- A light that turns on/off on a button press
- FSM that checks on the character health and links it through a variable to the hearts displayed on the GUI
- FSM connected with an animation of the character "Idle tired" if hearts reach 1.
The scene works fine except for the third FSM, which doesn't work if not disabled and enabled again at runtime.
Things I have already tried:
-Deleting playmaker and reimporting the last version.
-Making a prefab out of the character and click apply to the prefab disconnection alert
-Installing previous versions of Playmaker (tried 1.8.5, 1.8.7)
Please advice on what to do as I'm quite at the end of the road here
Cheers
Japporeactor