New Attribute string value cannot exceed 50 character limit

This is a new issue that has been occuring ever since I updated studio and I have changed nothing from my previous successful build.

I used JSON to write in an attribute the attachments used for a specific weapon to avoid replication issues or remote events that arrive too late.

image

50 Character Limit is too tight for a string attribute seeing we don’t have specific attribute types for tables.

EDIT:

Only occurs when NextGenerationReplication is set to Enabled
image

Is this intentional?

2 Likes

I believe so yes. I cannot find the source to quote it but it has been mentioned due to Server Authority, attributes are also sent over and for performance they require to be in little size.

1 Like

They would only have to be sent over if updated constantly, and the size of a string of 200,000 characters is only around 800KB for UTF-8 unless they plan to add different encodings.

Even with server authority, this type of stuff shouldn’t be limited to “50” characters, at a minimum they should allow up to 4096 characters.

I just checked this and i was able to put 10K+ characters inside a string Attirbute. Maybe i havent updated studio yet but idk. If this is true, then 50 characters is very strict considering the max length of a string value. Such inconsistencies :pensive_face:

image

It only fails when in-game scripts try to do it. If you manually insert it or use the command bar it’ll allow it.