Reading mavlink with c#

Hi everyone,

I’m trying to read data over UDP in Unity using C#. However, I am only receiving messages with ID 0 and 111 repeatedly. When I use Python to read the same UDP data, I have no issues and can receive all the expected message IDs.

I suspect there might be something in my C# code or Unity setup that’s causing this problem, but I’m not sure what to look for. Does anyone have any ideas or suggestions on what might cause this?

Any help would be greatly appreciated. Thanks!

Are the C# MAVLink interfaces generated with pymavlink?

I used nuget package thing. But I think I found the problem.


messages are not parsing correctly. byte to string byte they are dividing from wrong places. But I dont know how to make it right?