I'm stumped. Everything was working about three weeks ago. Now, I'm getting a strange error.
I have a structure (VertexPositionColorColorTexture) that contains several Vector2 structure variables. The Vector2 structure is simply a float for x and y.
When running in Visual Studio, everything is fine.
When running in Xamarin, I get a "reference not set to an instance of an object" error.
However, if I hover over the variable in the Xamarin IDE, it shows the object has a value.
I've tried to simplify it down as much as possible and you can see below that I'm even re-initializing before setting the value.
Any thoughts on why this is happening?