Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: elusiven on November 15, 2016, 12:32:58 PM

Title: Conditional expression action problem[SOLVED]
Post by: elusiven on November 15, 2016, 12:32:58 PM
It works in editor but when built on iOS (haven't checked on android) it just doesn't work, it comes up with this error:

Could Not Create Action: Sidebar_Panel: Dragging: State 6: ConditionalExpression (Maybe the script was removed?)

Is it because it cannot find the script responsible for that action when built, and if so then why is that happening?
Title: Re: Conditional expression action problem
Post by: Alex Chouls on November 15, 2016, 04:16:34 PM
The action is probably getting stripped by Unity when making the build.
You need a link.xml file to force Unity to keep it.
I've attached one that should work.

Also look into the Linker Wizard on the forums for more info.
The Wizard will create a link.xml file for your project.
Title: Re: Conditional expression action problem[SOLVED]
Post by: elusiven on November 16, 2016, 07:59:14 AM
Yup, that's it - thanks ;)