Fyrox
Fyrox copied to clipboard
Editor high CPU usage
It seems that the Fyrox editor eats 100% cpu (one core) even at idle. Is something spinning a loop? It would be nice if this usage can be reduced.
Make sure you've compiled the editor in release mode.
Apart from that I am also noticing 100% CPU usage in my game, seems to only happen after it's been left minimized for a while.
I have experienced a similar CPU Usage issue. Issue to reproduce:
- Start the Editor in Release mode
- Click
Play
in the editor - Do not quit the game using the game window, but the Editor's
Stop
button
Result: CPU percentage usage increases.
I can repeat this indefinitely until my total CPU load is 100%.
Expected behavior: Same CPU Load/Usage as when closing the game from its own window.
One of the weird aspect of this issue, the CPU usage increase doesn't happen when the game is started, it happens when the game is closed.
Here is the CPU usage during the following procedure:
- Start and stop the game from the editor several times
- Close the editor
Interesting bug, it is definitely should be fixed asap. Thanks for the report.
I just opened the editor and it stood there, doing nothing but consuming 50% of the CPU. Same thing both in release and debug mode, both in the integrated Intel GPU and on the dedicated Nvidia. Tested on Ubuntu 22.04.2 LTS.
EDIT: upgraded to git master and now it is 100%
Fixed in #520.