Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Sprowk | |
Old Version | Published before Godot 3 was released. |
Lately I encountered few errors in my code which causes lags on android. The problem is I do not know where to start if editor shows me this (link to image) no matter which project I choose. The fps constantly goes from 200-400 (it depends on the project) to 50-60.
Printing in the console will slow down the game, especially if you do it every frame.
Also, I see the debugger has two errors in your screenshot, what are they?
Zylann | 2017-04-09 15:01
I used option from project settings to print fps. It shouldn’t be every frame. The 2 errors are because of incorrect sRGB profile which unfortunately happened in demo project. I just wanted to show that the fps drops happen in any project.
Sprowk | 2017-04-09 15:31