Single variables are being passed to and fro Invoke Code just fine.
Seeing errors when done with array.
For example, I have an array named Variable4 which is an array of strings.
When I try to access Variable4[0] in Invoke Code (C#), it gives an error.
Object reference not set to an instance of an object.
How to solve this?