- Home /
Do runtime errors slow down your game?
Compile errors ofcourse wont let my game run at all but once my game runs. Should I really bother about the errors that come up, if it doesn't cause me any problems with playing?
Answer by ironblock · Aug 15, 2014 at 07:52 AM
can you give us a screenshot with the stats window ?(while its running) and what kind of compiler error do you get ? usually it just stops a part of a script or the whole script.
I guess it wold not be to hard to fix them in the first place.
Answer by smitchell · Aug 15, 2014 at 12:20 PM
I'm not sure if it really effects performance. I imagine it would but that depends on the error. But it could just crash the game. A null reference error in your screenshot you should fix. It's quite easy. Just do a check before running your code
if(yourReference != null) { //run your code using the reference }
Your answer
![](https://koobas.hobune.stream/wayback/20220613160641im_/https://answers.unity.com/themes/thub/images/avi.jpg)