I upgraded to paid NGUI in case that was causing it, but no luck - I'm still getting the following errors:
Two of these errors, each points to a different object in my scene:
NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMaker.Actions.VectrosityDraw3dRay.OnEnter () (at Assets/PlayMaker Vectrosity/Actions/VectrosityDraw3dRay.cs:65)
HutongGames.PlayMaker.FsmState.OnEnter ()
HutongGames.PlayMaker.Fsm.EnterState (HutongGames.PlayMaker.FsmState state)
HutongGames.PlayMaker.Fsm.SwitchState (HutongGames.PlayMaker.FsmState toState)
HutongGames.PlayMaker.Fsm.UpdateStateChanges ()
HutongGames.PlayMaker.Fsm.DoTransition (HutongGames.PlayMaker.FsmTransition transition, Boolean isGlobal)
HutongGames.PlayMaker.Fsm.ProcessEvent (HutongGames.PlayMaker.FsmEvent fsmEvent, HutongGames.PlayMaker.FsmEventData eventData)
HutongGames.PlayMaker.Fsm.BroadcastEventToGameObject (UnityEngine.GameObject go, HutongGames.PlayMaker.FsmEvent fsmEvent, HutongGames.PlayMaker.FsmEventData eventData, Boolean sendToChildren, Boolean excludeSelf)
HutongGames.PlayMaker.Fsm.Event (HutongGames.PlayMaker.FsmEventTarget eventTarget, HutongGames.PlayMaker.FsmEvent fsmEvent)
HutongGames.PlayMaker.Actions.SendEvent.OnEnter () (at Assets/PlayMaker/Actions/SendEvent.cs:39)
HutongGames.PlayMaker.FsmState.OnEnter ()
HutongGames.PlayMaker.Fsm.EnterState (HutongGames.PlayMaker.FsmState state)
HutongGames.PlayMaker.Fsm.SwitchState (HutongGames.PlayMaker.FsmState toState)
HutongGames.PlayMaker.Fsm.UpdateStateChanges ()
HutongGames.PlayMaker.Fsm.DoTransition (HutongGames.PlayMaker.FsmTransition transition, Boolean isGlobal)
HutongGames.PlayMaker.Fsm.ProcessEvent (HutongGames.PlayMaker.FsmEvent fsmEvent, HutongGames.PlayMaker.FsmEventData eventData)
HutongGames.PlayMaker.Fsm.SendEventToFsmOnGameObject (UnityEngine.GameObject gameObject, System.String fsmName, HutongGames.PlayMaker.FsmEvent fsmEvent)
HutongGames.PlayMaker.Fsm.Event (HutongGames.PlayMaker.FsmEventTarget eventTarget, HutongGames.PlayMaker.FsmEvent fsmEvent)
HutongGames.PlayMaker.Actions.SendEvent.OnEnter () (at Assets/PlayMaker/Actions/SendEvent.cs:39)
HutongGames.PlayMaker.FsmState.OnEnter ()
HutongGames.PlayMaker.Fsm.EnterState (HutongGames.PlayMaker.FsmState state)
HutongGames.PlayMaker.Fsm.SwitchState (HutongGames.PlayMaker.FsmState toState)
HutongGames.PlayMaker.Fsm.UpdateStateChanges ()
HutongGames.PlayMaker.Fsm.UpdateState (HutongGames.PlayMaker.FsmState state)
HutongGames.PlayMaker.Fsm.Update ()
PlayMakerFSM.Update ()
...and tons of these (as I'm using your loop hack for the vectrosity 3d ray):
Can't add script behaviour VectrosityProxy. The script class can't be abstract!
UnityEngine.GameObject:AddComponent()
HutongGames.PlayMaker.Actions.VectrosityDraw3dRay:OnEnter() (at Assets/PlayMaker Vectrosity/Actions/VectrosityDraw3dRay.cs:64)
HutongGames.PlayMaker.FsmState:OnEnter()
HutongGames.PlayMaker.Fsm:EnterState(FsmState)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState)
HutongGames.PlayMaker.Fsm:UpdateStateChanges()
HutongGames.PlayMaker.Fsm:UpdateState(FsmState)
HutongGames.PlayMaker.Fsm:Update()
PlayMakerFSM:Update()
I've quadruple checked that I got the latest vectrosity/actions, and I still need to put the wait action before the vect actions, so something is still wrong there as well.
As I've worked on and off on this project the last couple days, it seems that different FSMs seem to inherit this global event receiving problem. I'm fairly certain that building the game caused it to break the second time (I would have to copy paste FSMs again to get it working).
I'm happy to share the project if it'd help.
*edit: started new project and importing everything now. I've seen this warning upon putting in the draw3dray action:
Assets/PlayMaker Vectrosity/Actions/VectrosityDraw3dRay.cs(28,35): warning CS0414: The private field `HutongGames.PlayMaker.Actions.VectrosityDraw3dRay._points' is assigned but its value is never used
In this new project I've also drawn a single 3d ray with a wait action after it, and I get the same null ref/cant be abstract errors as my other project, and the wait action never executes.
Regards,
Jay