How do you find out what is causing lag in your game?

  1. What do you want to achieve? Keep it simple and clear: I want to get to know how to find the source of lag and how to eliminate it.

  2. What is the issue? Include screenshots / videos if possible: After a few hours of the server running, the fps significantly drops to below the 30’s

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub: We tried fixing all the errors, we deleted all the prints and we deleted all the warns.

You can search for viruses / backdoor in your game via the search in all scripts system. These can give access to external scripts using the require function.


MicroProfiler could do the work.