Hi GuysWonder if anyone can help, seem to be getting an error every time I engage in an action in my game (look,talk,use etc)
The following error crops up every time
Argument is out of Range, Parameter name: Index
Any ideas? This recently popped up from a 100% working build so not sure what I have done to cause this...
FULL ERROR
ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
System.Collections.Generic.List`1[AC.SpeechGap].get_Item (Int32 index) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:633)
AC.Speech.UpdateInput () (at Assets/AdventureCreator/Scripts/Speech/Speech.cs:497)
AC.Dialog._Update () (at Assets/AdventureCreator/Scripts/Speech/Dialog.cs:57)
AC.StateHandler.Update () (at Assets/AdventureCreator/Scripts/Game engine/StateHandler.cs:225)
Comments
Are you using tokens in your speech? If you can, please provide a sample dialogue line that causes this problem.
A fix will be issued in the next update, but in the meantime you can fix it by opening SpeechManager.cs, finding line 3036:
And inserting the following above it: