Roblox Studio keep crashing. When I test the game, it load then crash. I cannot end the test session and I have to close studio.
I think it’s because of a part of a script but I don’t know where because I don’t receive error messages.
Plese help me to find what could cause this.
Most of the time is code which runs too fast and too much, like from many scripts, firing to server and back too much etc. or even very large terrain.
Check your PC Specs too
Do you have any while true do loops without wait statements?
Maybe, but it should just end the script and send an error message, not crash Roblox Studio.
It actually will crash studio unless you pcall it. Go check if the are wrapped in pcalls. Then comeback.
There are several while loops without wait statements but I don’t know which one never end.
Never ending scripts happened before but they never caused crashes. Do the crashes come from a Roblox Studio update?
I don’t known about any update that eould cause that. But what you could do, that shouldn’t do much if I’m right is add a
wait() -- or task.wait()
Somewhere in all the loops. (Without waits ofc)
If you dont put a number it will be very brief and almost unnoticeable.