PlayMaker Help & Tips > Windows Store Apps Help

Set Property fails in UWP binaries [SOLVED]

(1/1)

dtsiknis:
We are having issues with the Set Property action with the "active" property. It seems for UWP this works in the editor but does not fire in an executable.

We are on the latest Playmaker (1.8.5.f8).

jeanfabre:
Hi,

make sure you use SetProperty on properties you can't access via custom actions, which component are you trying to reach?

 in all cases, you'll need to use the linker wizard, which will go through all your usages and properly tell Unity what to keep during publishing, as SetProperty uses Reflections which makes Unity un aware of what you really need when compiling.

 http://hutonggames.com/playmakerforum/index.php?topic=11126.0

Bye,

 Jean

dtsiknis:
We've been using it mostly to set the active property on the gameObject which we are now replacing with the custom Activate GameObject action. Good to know there is a more generic solution as well.

Thanks!

Navigation

[0] Message Index

Go to full version