IOException: Access denied

Hello, am new to unity and not expert on programming. I am trying to interface an mpu9250, Arduino and unity. I have followed a certain example I saw on youtube. How ever when i run the program in unity i get IOException: Access denied and not sure how to resolve this. if anyone has the knowledge and examples of moving a cube using a motion sensor please send them my way. And also if someone knows why this error comes about will be greatful.

1 Like

I’m having the same issue. Any solutions?

Same here. Anyone else experiencing this issue?

Before of Play in Unity, close Serial Monitor in Arduino IDE

4 Likes

Thank you so much its Works…