I'm trying to set up a slightly more complex VA profile with wildcards. Right now I have 3 and sometimes when I use them all in one phrase I get a CTD with the following error:
System.ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Collections.Generic.List`1.Insert(Int32 index, T item)
at VoiceAttack.frmMain.( )
at VoiceAttack.frmMain..()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
***VoiceAttack v1.8.7 - Windows 10.0.19042.0
My profile is relatively simple as far as I understand. I've attached it to the post. I'm trying to handle having a variable length list of suffixes for a command and from what I have seen this is the best way to do this.