playMaker

Author Topic: ActionHelpers.cs Build Error [SOLVED]  (Read 4932 times)

stvbabb

  • Junior Playmaker
  • **
  • Posts: 66
ActionHelpers.cs Build Error [SOLVED]
« on: July 02, 2018, 09:11:38 AM »
Hello,

I'm using the latest version of playmaker, 1.9 p3 and Unity 2018.1.2f1 and when I try to build my game, I get the following error:

Assets\PlayMaker\Actions\ActionHelpers.cs(699,36): error CS1061: 'Type' does not contain a definition for 'IsValueType' and no extension method 'IsValueType' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)

The script is pretty complex and beyond my meager coding skills to fix. Any help would be great. I'm under a bit of a deadline and have to get a build out asap.

Thanks for the support,
Steve

« Last Edit: July 16, 2018, 01:59:38 PM by Alex Chouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: ActoinHelpers.cs Build Error
« Reply #1 on: July 02, 2018, 10:57:16 AM »
What platform are you building for?

stvbabb

  • Junior Playmaker
  • **
  • Posts: 66
Re: ActoinHelpers.cs Build Error
« Reply #2 on: July 02, 2018, 02:18:31 PM »
Hi Alex,

Building for the Hololens.

Thanks,
Steve

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: ActoinHelpers.cs Build Error
« Reply #3 on: July 02, 2018, 02:45:57 PM »
I haven't built to hololens yet, I'll need to investigate and setup the tools etc.
Are you able to build an empty project for hololens? Installed all the correct sdks etc.?

EDIT: Just made a build for hololens here without a problem.
« Last Edit: July 02, 2018, 03:59:56 PM by Alex Chouls »

stvbabb

  • Junior Playmaker
  • **
  • Posts: 66
Re: ActoinHelpers.cs Build Error
« Reply #4 on: July 02, 2018, 04:32:27 PM »
Good idea - this is the first time I've integrated Playmaker into my Hololens workflow. I'll try with a fresh project, and a fresh install of Playmaker tomorrow morning and report back.

Thanks!

stvbabb

  • Junior Playmaker
  • **
  • Posts: 66
Re: ActoinHelpers.cs Build Error
« Reply #5 on: July 03, 2018, 09:19:41 AM »
Hmm, seems to not work out. I started a fresh project, as well.

I'm using the latest version of Unity; 2018.1.6f1, the latest Playmaker version I can use, and same error at build time.

I am also using the iTween legacy package for Playmaker with the iTween asset. I'll try removing that and see how it goes.

Thanks,
Steve

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: ActoinHelpers.cs Build Error
« Reply #6 on: July 03, 2018, 09:24:05 AM »
Are you able to build for Hololens without Playmaker imported? Just a new Unity project, maybe with a standard asset to test.

stvbabb

  • Junior Playmaker
  • **
  • Posts: 66
Re: ActoinHelpers.cs Build Error
« Reply #7 on: July 03, 2018, 09:48:28 AM »
(I'll try that now and report back.)

Seems to work fine without Playmaker installed. I'll try a few more things.
« Last Edit: July 03, 2018, 09:56:38 AM by stvbabb »

stvbabb

  • Junior Playmaker
  • **
  • Posts: 66
Re: ActoinHelpers.cs Build Error
« Reply #8 on: July 03, 2018, 10:28:25 AM »
I also tired Unity 2017.4.1f1, Playmaker, HoloTool Kit and still the same error.

Not sure what else to do.


stvbabb

  • Junior Playmaker
  • **
  • Posts: 66
Re: ActoinHelpers.cs Build Error
« Reply #9 on: July 03, 2018, 10:57:00 AM »
Got a build out with Unity 2018.1.6f and Playmaker 1.9 w/Holo Toolkit by switching the scripting backend from .net to IL2CPP.

Now have to do some Visual Studio stuff, but that's a separate issue.

So far this is looking promising.

Thanks,
Steve

stvbabb

  • Junior Playmaker
  • **
  • Posts: 66
Re: ActionHelpers.cs Build Error
« Reply #10 on: July 03, 2018, 01:08:08 PM »
It worked! That seemed to be the issue. Build went fine and deployment went fine. Might be worth putting that somewhere in the FAQ regarding folks using mixed reality stuff?

Thanks for the support,
Steve
« Last Edit: July 03, 2018, 02:08:33 PM by stvbabb »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: ActionHelpers.cs Build Error
« Reply #11 on: July 04, 2018, 01:38:30 PM »
Thanks for the update! I'll get a fix for .net into the next update - sorry about that! I think Player Settings defaults to il2cpp now, so I didn't catch it...

stvbabb

  • Junior Playmaker
  • **
  • Posts: 66
Re: ActionHelpers.cs Build Error
« Reply #12 on: July 05, 2018, 05:40:12 AM »
Cool, glad it worked out.  :)

Javelin_IA

  • Playmaker Newbie
  • *
  • Posts: 3
  • AR and VR Developer at thyssenkrupp
    • LinkedIn
Re: ActionHelpers.cs Build Error
« Reply #13 on: July 13, 2018, 09:07:10 AM »
Hi Alex,

i have also problems building for HoloLens, using .NET.
Because i run in several errors and the build window from the Mixed Reality Toolkit is not working, as soon as i use IL2CPP, i really need a fix for that.

It would be nice if you can send me a PM or LinkedIn message.

Best Regards



Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: ActionHelpers.cs Build Error
« Reply #14 on: July 13, 2018, 02:55:03 PM »
Have you updated to 1.9.0.p4? That patch should fix .net building for HoloLens.
Note: Remember to import and then install the update. Check the version in Main Menu > PlayMaker > Help > About PlayMaker