I just installed Unity 4.5.
First everything worked fine. Until the scripts where recompiled. Now my custom actions are throwing errors and playmaker is gone. Im using Playmaker 1.7.7.f6
Here is the error:
Assets/06__CustomScripts/CustomActions/CheckdeviceMW.cs(8,10): error CS0246: The type or namespace name `Tooltip' could not be found. Are you missing a using directive or an assembly reference?
Assets/06__CustomScripts/CustomActions/CheckdeviceMW.cs(8,10): error CS0104: `TooltipAttribute' is an ambiguous reference between `UnityEngine.TooltipAttribute' and `HutongGames.PlayMaker.TooltipAttribute'
This is one of the faulty Actions (aswell as all DF-GUI actions for example):
using UnityEngine;
using HutongGames.PlayMaker;
[ActionCategory(ActionCategory.Device)]
public class CheckdeviceMW : FsmStateAction
{
[UIHint(UIHint.Variable)]
[Tooltip("Type of device: 0 = Web/PC/other, 1 = android, 2 = iOS")]
public FsmInt deviceType;
.....
However if i change the beginning everything is okay and playmaker runs again:
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.Device)]
[Tooltip("Type of device: 0 = Web/PC/other, 1 = android, 2 = iOS")]
public class CheckdeviceMW : FsmStateAction
.....
But this would be much work to do for all my custom actions...
What is the best way to solve this?