(Android Specific) TextBox with >5000 characters crashes Roblox on some devices

This happens on the S10 Ultra, BLU g93, and other Android devices.

Behavior and Reproduction:

  1. Make a TextBox
  2. Copy 150 lines of Roblox source code or whatever and paste into the TextBox
  3. Open this place on an older android device and try to edit the text
  4. Observe the app crashing.

This is a repeatable bug that has been reported by a reasonable number of our players.
Here is an example from one of our players and his phone specs:


8 Likes

Hi @AxisAngle thank you for the report. Some questions for you!

  • Which place is this?
  • What is the use-case for players copying large amounts of text into experience on mobile? It looks like a player configuration / settings JSON …?
  • Do you know which properties are enabled for this specific textbox or have a simple place file w/ a text box that repros the issue? Just in case if the issue is tied to a specific combination of settings (multiline etc): TextBox | Documentation - Roblox Creator Hub

Thanks again!

1 Like

Thanks for the interest.
The use cases are:

  1. Players can configure a control scheme, then copy and send it to their friends or to me where I can modify and then implement it as a default control layout in code.
  2. I can copy my own configuration and implement it as a default control layout in code.
  3. It is Lua format, I wrote a mostly functional Lua interpreter in Luau, so players can run arbitrary control layout configuration code.

I binary searched to the crash point and found that any TextBox, if you try to load more than 5000 characters, will crash Robox on Android (at least my S24 and some other models, but it could be all of them).
Here’s an example place with 5001 characters in a TextBox with default Properties except for ClearTextOnFocus = false. Click on the TextBox and it may crash the Roblox App.

Android TextBox Crash Reproduction.rbxl (56.0 KB)

It appears that if I try to manually enter more than 5000 characters on my S24, it will not let me. So I think this has something to do with an arbitrary limitation of Android, or at least some devices.

Why is it restricted ? I opened it on my over 13 account as well!

It’s Friends only because engineers have access to it no matter what.

I changed it to Public for ya.

I get the crash too on my Samsung Galaxy M12 phone.

1 Like

Is it fixed? I did it on my kindle fire and it didnt craah. Even when clicking on it

Edit: didnt read the post saying to be on older device sorry!