The size of messages between client-server

Geotyper
Geotyper
edited February 2018 in DotNet
In messages we have Code and Dictionary and if count of objects is more than 150-250 Photon Unity Client send an error "Buffer over" or the same. It need to send several messages to split list of objects? Objects serialized by BSON and have 5 float fields like x,y,z or the same.
Also I make class with List inside it. And then serialize it and put in Dictionary. All work good, but after number of objects in List become more than 150 plus minus I have an error on the side of Client program : Number overflow in Bson deserialization.