Not sure where to put this. I'm trying to make a mouse-driven interaction system for 2D mode in Unity and put together this system to deal with it. The confusing part is - the things it's complaining about should
never be the case as far as I can figure. All the systems set their GameObject variable on start and that GameObject is always there on start.
Is this a logic error somehow on my end or a bug in the uGUI scripts?
Error 1 (happens twice on start)
Error Loading Action: Ritual : ExpensiveInteraction : State 2 : HutongGames.PlayMaker.Actions.uGuiSetText : textError 2 (happens immediately after Error 1)
System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
at System.Collections.Generic.List`1[HutongGames.PlayMaker.FsmString].get_Item (Int32 index) [0x0000c] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:633
at HutongGames.PlayMaker.ActionData.GetFsmString (Int32 paramIndex) [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.ActionData.LoadActionField (System.Object obj, System.Reflection.FieldInfo field, Int32 paramIndex) [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.ActionData.CreateAction (HutongGames.PlayMaker.FsmState state, Int32 actionIndex) [0x00000] in <filename unknown>:0 Error 3 (constantly occurs)
NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayerMaker.Actions.uGuiSetText.DoSetTextValue() (at Assets/PlayMaker Custom Actions/uGui/uGuiSetText.cs:71)Error 4 (occurs on mouse-over)
Object reference not set to an instance of an object
HutongGames.PlayMaker.Actions.uGuiSetText.DoSetTextValue () (at Assets/PlayMaker Custom Actions/uGui/uGuiSetText.cs:71)The PlayMaker systems I'm using:
http://www.filehosting.org/file/details/480515/Prefabs.zip