playMaker

Author Topic: Conditional expression action problem[SOLVED]  (Read 2980 times)

elusiven

  • Full Member
  • ***
  • Posts: 233
  • Debt we all must pay...
Conditional expression action problem[SOLVED]
« 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?
« Last Edit: November 16, 2016, 03:50:23 AM by jeanfabre »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Conditional expression action problem
« Reply #1 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.

elusiven

  • Full Member
  • ***
  • Posts: 233
  • Debt we all must pay...
Re: Conditional expression action problem[SOLVED]
« Reply #2 on: November 16, 2016, 07:59:14 AM »
Yup, that's it - thanks ;)