Hello, I'm quite new to playmaker, so if I mention something that is particularly newbish, that is most likely why. Appologies before hand.
I am currently trying to make a mouse controller on an object. I am having trouble doing so.
I have followed this tutorial trying to get the object to follow the mouse. However when I set it all up and press play, unity automatically pauses and gives me a NullReferenceException.
This is the error:
NullReferenceException
UnityEngine.Camera.ScreenToWorldPoint (Vector3 position) (at C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/ExportGenerated/Editor/UnityEngineCamera.cs:351)
HutongGames.PlayMaker.Actions.ScreenToWorldPoint.DoScreenToWorldPoint () (at Assets/PlayMaker/Actions/ScreenToWorldPoint.cs:83)
HutongGames.PlayMaker.Actions.ScreenToWorldPoint.OnUpdate () (at Assets/PlayMaker/Actions/ScreenToWorldPoint.cs:64)
HutongGames.PlayMaker.FsmState.OnUpdate ()
HutongGames.PlayMaker.Fsm.UpdateState (HutongGames.PlayMaker.FsmState state)
HutongGames.PlayMaker.Fsm.Update ()
If this problem has already been addressed could someone link me to it, or suggest a fix, or even send me a working version or example?