It turns out that large OSC messages are truncated if they exceed 1024 bytes, so the null terminator is missing and the packet is corrupted.
Consider increasing the message size (IPlugOSC_msg.h
) to a minimum of 4096, it is verified that it solves the problem.