Yes, because RPCs are reliable by default, they are automatically split in smaller pieces. The maximum payload size setting has no effect on reliable traffic (including RPCs) and for this kind of traffic there is basically no limit to the size of the data that you can send. (Well, there is a limit, but it’s in the megabytes range and I’d recommend against sending payloads that large using Netcode. At that point you’d be in file transfer territory and there are dedicated protocols that are better suited for that.)
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Maximum data size in RPC | 9 | 5358 | February 13, 2022 | |
| Max Payload Size Unity Transport | 1 | 4291 | July 5, 2022 | |
| MaxPacketQueueSize ? | 11 | 3232 | January 24, 2024 | |
| If the packet size is more than 60k, a NetworkSendQueFull error occurs when sending. | 7 | 3638 | June 20, 2023 | |
| Couldn't add payload of size to reliable send queue. | 4 | 353 | June 9, 2024 |