stella3d / OscCore

A performance-oriented OSC library for Unity
MIT License
160 stars 29 forks source link

OSC messages with 3 parameters aren't parsed correctly #20

Open ssfrr opened 1 year ago

ssfrr commented 1 year ago

When there are 3 parameters, the type tag is [',', 'f', 'f', 'f', NULL, NULL, NULL, NULL] (using floats for example). The first NULL is to terminate the string, and the remaining 3 are for padding. It looks like OscCore stops parsing the type tag after the final 'f', and then reports the first argument as 0.0. Then the first 2 arguments are shifted back, and the last argument is dropped.