I am currently working on a project that communicates between Arduino and Unity through the serial port. I got sending data to unity working great but when I try to send data from unity to Arduino with Serial port.WriteLine it keeps giving me the error, “IOException: The semaphore timeout period has expired.” This error seems to freeze all data sent to Arduino because when I stop the game, all the commands get through to the Arduino at the same time. It also is not large amounts of data so I don’t know why I would have bus space issues. Only 2 digit numbers.
Did you find a solution to this?