Left 4 Dead 2

Left 4 Dead 2

View Stats:
moemeo Feb 11, 2019 @ 8:29am
Console keeps spamming "SCRIPT PERF WARNING"
I'm working on scripts which make game moar fun and challenge, seems like me actually done that and the scripts work very well without any bug :100oj:
But the problem is whenever i open the console, theres a ton of lines saying
SCRIPT PERF WARNING --- "Update" ran long at 1,8431ms SCRIPT PERF WARNING --- "Update" ran long at 1,4431ms ...
Do you guys know what are them and what cause that? Am a beginner in scripting so i dun know much about them.
Originally posted by Rectus:
That means you have expensive operations running in your Update(). That warning seems to trigger really easily, so it's not neccessarily an issue, but it might be a good idea to see over if you have any code you don't need to be running every time Update() is called.
< >
Showing 1-2 of 2 comments
The author of this thread has indicated that this post answers the original topic.
Rectus Feb 19, 2019 @ 2:30am 
That means you have expensive operations running in your Update(). That warning seems to trigger really easily, so it's not neccessarily an issue, but it might be a good idea to see over if you have any code you don't need to be running every time Update() is called.
moemeo Feb 20, 2019 @ 8:59am 
Originally posted by Rectus:
That means you have expensive operations running in your Update(). That warning seems to trigger really easily, so it's not neccessarily an issue, but it might be a good idea to see over if you have any code you don't need to be running every time Update() is called.
woo thank you for this~
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Feb 11, 2019 @ 8:29am
Posts: 2