So I finally managed to get myself onto a server where this occurs. As far as I can tell, here’s what happens:
It takes a long, long time to get through “Waiting for character”
Once in, your ping to the server is terrible. I was unable to click my “begin” button (which sends a simple remote event to the server) and have it react properly.
I was able to chat with almost no delay. It seemed odd to me that my ping with scripted things was slow, but I was able to chat to the server with almost instantaneous accuracy.
I know the chats replicated, because other people in the server heard them and responded.
This horrid ping seemed to not apply to certain people in the server. The folks I was conversing with, for example, had no issues whatsoever. This leads me to believe the connection issues are per player.
I was unable to see any server stats on my developer console. No matter how long I waited, the panel remained empty.
The server console opened, but no errors were shown there that could possibly have any connection to this ping issue.
The local console had no relevant errors either.
This does not happen very often, and it seems to occur randomly.
I’m stumped. My theory is that this is some arcane thing with Remote* that I am triggering as an edge case. I would appreciate it if one of you engineers could take a look at my .rbxl and see if there are any blatantly obvious bugs in it.
Alternatively, are there any horrible practices I should be avoiding that I may be doing? I don’t know what’s going on or what to do.
It may not be relevant, but this is exactly my experience during the 2014 egg hunt. Very long ‘waiting for character’, chat worked fine, but any other communication to the server had 10-20 second delays.
I’m curious how much data your place is using, you can find out by first bring up the network stats panel using Shift+F3, then Shift+1 until you see this screen:
Things I’ve noticed that cause entry lag for the client. Loading a lot of stuff via PlayerGui, such as StringValues with super long values such as MIDI songs (used MIDI for music before you could upload audio). Having around 22-26 MIDI songs in playergui would cause a “waiting for character” to stay up for 1-6 minutes (depending on the machine). So possibly the the large amount of CSG’s could be causing the long wait time.
If you are preloading all of your assets at joining, this will cause a lag for the player, since when I preloaded all of my 1.5-2 min songs for my game (est. 100+) at joining, there would be lag for that player until the preloading had completed, which lasted for roughly 3 mins. Idk if client lag could be related to low ping though.
I’ve been having issues with this also - I’ve gotten lots of reports about users not being able to join Trick-or-Traitors due to the game getting stuck at a certain instance count (There’s about 5K parts in the game, and it commonly gets stuck around 1 - 1.5K instances.)
Can confirm this. It will happen to me on my games some times, which has at most 2K parts, and it will get stuck at like 500-800. To fix I just leave and rejoin the same server until it loads correctly.
Can confirm this. It will happen to me on my games some times, which has at most 2K parts, and it will get stuck at like 500-800. To fix I just leave and rejoin the same server until it loads correctly.[/quote]
Yeah, it’s the weirdest issue ever - there’s no functions that accidentally trigger tail recursion on the server, no loops without a wait on the client, and the server doesn’t send data to the client until it’s fully loaded. It just sticks at a certain instance count.
The first picture is not the network stats, and 2nd picture is showing very good ping and missing the sub panel on the right, you need to press Shift+1 couple times before getting to the right one, which is the “In Data” and “Out Data” info.
The first picture is not the network stats, and 2nd picture is showing very good ping and missing the sub panel on the right, you need to press Shift+1 couple times before getting to the right one, which is the “In Data” and “Out Data” info.
Is this captured during slow loading?[/quote]
No, this is regular gameplay - I have yet to experience the slow loading glitch.
I tried playing Egineers and encountered the exact problem described. Character took a minute or two to spawn, clicking ‘begin’ did nothing, was able to chat. It should be noted I only have a 1 Mb connection, so the data sent by the server was around my max down speed.
[quote] I tried to play Engineers few times and could not see the slowness.
You mentioned heavy usage of CSG parts, do you have some game logic that spawn lots of these parts? What’s the most complex part you have in the game? [/quote]
Oh wow, I didn’t see this. Sorry. I don’t have extremely complicated individual parts, but I have numerous fairly uncomplicated parts. Each weapon and gadget that appears in your character’s hand is a CSG part in ReplicatedStorage (so it’s frontloaded, essentially, which is what concerns me).
I know that you guys are busy but I am lost as to what is going on with this game and I would really appreciate you all poking around in it.
This is still really affecting a bunch of seemingly random people. I have no pinpoint way of reproducing this because of its nature, but I really need this to be checked out. I have no way of telling if it is my fault, so I need a ROBLOX engineer to give it a look. I realize that this isn’t fully your guys’ responsibility but I’m asking as a favor.