Hi, my friends,
This is apparently a “no brainer”, but I’ve lost a few hours already with this error and I’m left scratching my head, especially because I get 2 different results when running the code inside a C# component and after compiling in VS.
The component is part of a much larger script and it subdivides a region delimited by a number of side-by-side curves.
Well, I get the “object reference not set as object instance” error only on the compiled component (using exactly the same code inside the script).
Any clues?! Could it be that in the script the code is creating some