A script we’ve been using fine in V7 breaks when porting the code over to 8.
We’re passing a System.Drawing.Bitmap
into an input with no type hint assigned, and then casting it the code as follows:
Bitmap bitmap = (Bitmap) BMP;
In V7 we then have no trouble working with it. In V8, however, as soon as we try to access any of the bitmap
’s properties, we receive: “1. Error running script: Exception has been thrown by the target of an invocation.”
The script still works fine in the obsolete C# component in V8, so we can just continue to use that, but figured it’s worth pointing out!