playMaker

Author Topic: Getting CS0246 error after importing IK sample scene  (Read 1419 times)

kavery

  • Full Member
  • ***
  • Posts: 149
Getting CS0246 error after importing IK sample scene
« on: May 31, 2018, 09:52:16 AM »
using playmaker 1.7.8.3
unity 5.3.4f1

Getting this error which breaks the demo:

Assets/PlayMaker Animator/Actions/GetAnimatorBody.cs(9,39): error CS0246: The type or namespace name `FsmStateActionAnimatorBase' could not be found. Are you missing a using directive or an assembly reference?
« Last Edit: May 31, 2018, 08:20:13 PM by kavery »

kavery

  • Full Member
  • ***
  • Posts: 149
Re: Getting CS0246 error after importing IK sample scene
« Reply #1 on: May 31, 2018, 08:19:20 PM »
I tried replacing the .cs with a copy from the repository:
https://gitlab.samoatesgames.com/GameJams/Ludumdare32-Gravi/blob/4fd51cba29a9dfb0730c33d3e0d8942fd1763368/Unity/Assets/PlayMaker%20Animator/Actions/GetAnimatorBody.cs

It gives me no errors but the targets go to 0,0,0 and do nothing when IK activated.

I tried creating a new project and importing the ik sample scene after installing PM 1.8.5. I get different results: no errors but 'Prezzle boy'. I got it working on 2018, why not 5.3.4? I'd love to upgrade Unity but project is long in the tooth and I have too much riding on depreceated stuff.   
« Last Edit: May 31, 2018, 08:20:53 PM by kavery »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Getting CS0246 error after importing IK sample scene
« Reply #2 on: June 01, 2018, 02:46:47 AM »
Hi,

 yes, this one is going to be tricky because along the way, PlayMaker started support some of the action that were before on the ecosystem.

I think you need to first update PlayMaker while in 5.3, make it work there and then update to 2017 or 2018. It should work on 5.3, but you have to use the latest playmaker if you want to then update unity.


try to clean up the custom actions ( which is why I always put them in PlayMaker Custom Actions/ I can quickly take them out ) and use the built in PlayMaker actions

 Bye,

 Jean