EncryptedNet icon indicating copy to clipboard operation
EncryptedNet copied to clipboard

`table.unpack` effectively limits the total size of Remote data

Open bestcoderboy opened this issue 6 months ago • 0 comments

due to the ~8,000 entry limit for table.unpack(), there is a size limit on all data flowing through EncryptedNet-wrapped remotes.

an example of table.unpack being used (chacha20, line 108):

local newData = type(data) == "table" and { table.unpack(data) } or util.stringToByteArray(data)

this leads to the error message: Image

i don't mind such a limit existing - it's actually highlighted an issue in my networking - but this limit should probably be documented.

bestcoderboy avatar Aug 08 '25 15:08 bestcoderboy