playMaker

Author Topic: Run FSM: InvalidCastException: Specified cast is not valid. [FIXED]  (Read 4485 times)

s0963123

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Run FSM: InvalidCastException: Specified cast is not valid.
« Reply #15 on: February 07, 2021, 09:02:35 PM »
I am currently in 1.9.1.p2. But in the Installation tab, it shows the latest version is 1.9.1.p2 instead of 1.9.1.p3.

Any ideas on what I'm doing wrong and how to update to 1.9.1.p3?

Thanks again.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Run FSM: InvalidCastException: Specified cast is not valid.
« Reply #16 on: February 07, 2021, 09:37:23 PM »
Did you update in the Asset Store?

s0963123

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Run FSM: InvalidCastException: Specified cast is not valid.
« Reply #17 on: February 08, 2021, 06:22:23 AM »
Try that and works. Thanks.

s0963123

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Run FSM: InvalidCastException: Specified cast is not valid.
« Reply #18 on: February 25, 2021, 09:12:42 AM »
I finally manage to find out what goes wrong.

It appears to be some bug happened when you try to use a variable with the convert option in the variable pulldown menu in a 'Run FSM'.

Would it be fixed soon? Because it greatly hurdle how we could use template to streamline our production, which is one of the great features of playmaker.

Sorry to bring up this post again.
I stumbled upon a very similar situation again.
When using a variable with the convert option in the output session of a "Run fsm", it gives the " InvalidCastException: Specified cast is not valid." warning again.

But using convert variable in input works just fine.
Would it be fixed in future updated as well?
Thank you.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Run FSM: InvalidCastException: Specified cast is not valid. [FIXED]
« Reply #19 on: February 26, 2021, 02:04:12 AM »
I think that is a bug in the Output UI letting you select the Convert sub menu. I don't think that's supported yet. But let me investigate...

s0963123

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Run FSM: InvalidCastException: Specified cast is not valid. [FIXED]
« Reply #20 on: March 03, 2021, 03:58:05 AM »
any update?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Run FSM: InvalidCastException: Specified cast is not valid. [FIXED]
« Reply #21 on: March 03, 2021, 04:30:28 PM »
Yes, I can confirm the UI should not have been showing the Convert menu for Output variables. It's fixed in the next update, release imminent.

s0963123

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Run FSM: InvalidCastException: Specified cast is not valid. [FIXED]
« Reply #22 on: March 04, 2021, 10:13:34 PM »
got it, thanks.