What is the best way to debug crashes?

Idk why but when someone joins after another user, the game crashes with error “Unexpected error has occurred and roblox needs to quit, we’re sorry.” I have no clue why this happens and I would just like some advice on HOW to actually debug this issue, not necessarily specific advice on WHY it might be happening. Thanks.

Edit: I know about the crash logs in appdata, but I have no clue what the information in them is about so therefore i can not use them for debugging purposes.

2 Likes

Bump ++++++++++++++++++++++++++++

uh i don’t think there are ways to debug crashes?

atleast none that i’m aware of

1 Like

Have you tried joining the game in studio with two local players? I’ll provide a guide if you still need help

1 Like

memory leak, loops with no wait, something would cause a major lag spike when a player joins

like the above said, try in studio and see if that’ll crash, if it doesnt then you can look at ScriptProfiler or MicroProfiler to see whats actually going on

1 Like

Its when someone joins after the player, and not all the time its so weird

It doesnt happen in studio (no crashes) even if using 2 local players

Try joining the game on your development account and wait for the crash? There might be some logs for you in the server side if it’s the server crashing them. If not that atleast narrows it down.