Open ishaan12334 opened 8 months ago
UnityEngine.Object.FindObjectsOfType()
is kind of expensive, it shouldn't be called every frame, as is currently the case when the ESP is enabled, or the player list tab is open. Better to have a buffer for each type of object the ESP shows, updated periodically. See here.
Can also happen if exceptions are triggered frequently, this would be obvious by looking at the BepInEx log.
it lags how can i fix it pls help