Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: stvbabb 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
-
What platform are you building for?
-
Hi Alex,
Building for the Hololens.
Thanks,
Steve
-
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.
-
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!
-
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
-
Are you able to build for Hololens without Playmaker imported? Just a new Unity project, maybe with a standard asset to test.
-
(I'll try that now and report back.)
Seems to work fine without Playmaker installed. I'll try a few more things.
-
I also tired Unity 2017.4.1f1, Playmaker, HoloTool Kit and still the same error.
Not sure what else to do.
-
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
-
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
-
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...
-
Cool, glad it worked out. :)
-
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
-
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
-
Oh nice, you're awesome.
My fault that I've not checked the version.
Thanks for the fast reply and also the fast fix for that issue^^ :)