I am working on 3.3.2 version of Uduino and using arduino mega.
Code properly uploads on arduino. Even unity starts reading data.
Problem is the data it reads, is taking in big steps. It lags.
Eg. Y axis changes from 0 to 62.3 to 90.0
But when I read MPU data on Serial monitor separately it gives proper quaternion values.
I did not change anything in the code(If I am supposed to under any condition) I am running it on Unity version 2019.4
Baud rate- 9600
Read and Write timeout- 30
Also tried on Unity version 2018.4