The client just hangs with that text, with a completely white screen. I tried updating the place and restarting studio, and my internet connection is not the problem.
The issue started in the middle of my editing my code. I published to roblox and then tested and it happened. This is place specific too - this is only happening on the game I am currently editing.
Did I hit some sort of place or script data limit?
Edit: Figured out it was caused by the length of a script. Not sure if the limit is based on how long one script is or multiple, but I’m assuming it was script length as it reached 20k lines long. Lol.
I actually just figured it out just minutes later. I really did hit some sort of script data limit. Removing a bit of useless code fixed the problem, and adding it back caused it again.
I think the limit is 20k lines of code.
Guess I should really start using more module scripts
(Thanks for the help though. Should have done more testing before I posted on here.)
When I started working on this game I didn’t know about module scripts…
My main script runs almost everything in the game for every player. It adds up over time, and I have a lot of stuff I can remove due to remaking things. I just gotta work on my optimization.
A client gets disconnected if you sent/receive 2e5 characters to/from the server.
That’s the main reason you can’t set .Name or .Value to anything above 200k characters.
The studio’s script editor doesn’t care, though, hence you can add more than that. (A plugin still has the limit, though, just a fact that might be useful someday?)
I thought localscripts were sent as bytecode, which might reduce the amount of characters. (Not even sure there’s the 2e5 problem for bytecode… eh we’ll never know without testing)
Maybe it’s because in Studio’s Start Player, the actual code is sent over that you crash.
Thank you for submitting this report. We are currently reviewing all bug reports to ensure we have not overlooked any ongoing issues. Since this issue was reported over two years ago, can you please confirm you are still experiencing the problem? If so, please respond to this thread, and we will investigate. If we do not receive any response within 30 days, we will consider this matter resolved. Thank you.