Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkMessage.MaxMessageSize

public static int MaxMessageSize;

Description

The size of the largest message in bytes that can be sent on a NetworkConnection.

Note that channels that are not Fragmented cannot send messages larger than the Maximum Transmission Unity (MTU) size, which is about 1400 bytes by default.

Did you find this page useful? Please give it a rating: