Hi, I recently updated Unity to 2017.4.24f1 and since then I've been getting the errors:
get_isEditor is not allowed to be called during serialization, call it from Awake or Start instead." (followed by object name)
and
"Error Loading Action: (state name): HutongGames.PlayMakerActions.RunFSM : fsmTemplate Control"
The errors appear for all states in which I pass an array of game objects to a template (which moves animated sprites).
If a scene is already loaded when I run it, there is no problem. But if a scene loads during e.g. testing, then it breaks the game.
Is passing an array of game objects to a template bad practice that Unity never noticed before or is it a bug resulting from updating Unity?
I'm hoping for help resolving this because it's always worked very well and I would like to avoid having to work around it. Thanks in advance!