Bug is a very strong word lol
I guess you already know that, but Serial.println will be the one the plugin will consider to read everything before, because it sends the ’
’ break that ReadLine expects as a line break.
Also, are you certain that you are using the ReadLine function **after **Arduino has sent the all the data? Because the computer can read faster than Arduino can send, and then you’ll get either part of the data or even none of it.
The examples script I package within the plugin folder uses Serial.println and I use ReadLine just fine with that. But if I’m reading back from a command I’ve just sent from the engine, I wait for a small delay, to make sure Arduino has time to read the command and completely answer it.