High CPU/GPU usage in Arbor Editor
Posted: 2023/04/20 09:21
Hi. We are trying out the trial version of Arbor 3. While we really like it so far, there is one major issue that is a deal-breaker right now. Since we are using the trial, we can't check the source to fix it ourselves.
When we have the Arbor Editor open for an FSM, and there is at least one state with at least one behaviour, the CPU usage goes to 25% (2 cores fully loaded) and GPU usage to 30%. Mind you, that is in the Editor, no play mode. So nothing is actively running. When we close the Arbor Editor, the usage is back to normal (0% when idle). We tried disabling the "Live Tracking" button.
We have seen the issue in both Unity 2019.4.16f1 and 2021.3.22f1. It is very easily reproducible in a new project:
1. Make a new project
2. Add an Arbor FSM to the scene
3. Open the editor for the FSM
4. Add a state
5. Add any behaviour to the state
6. Open Task Manager and check the CPU/GPU usage of the Unity process. Make sure that you put the Unity window back into focus by clicking on it, otherwise it will pause and have 0% usage.
The issue goes away if you remove all behaviours again. Sometimes it stops for a moment after recompiling scripts, but then it starts again when you interact the with Arbor Editor in any way.
Other info:
Windows 11
Arbor-Trial-3.9.5
Reproduction project (2021.3.22f1) attached.
Is there anything we can do to fix it?
When we have the Arbor Editor open for an FSM, and there is at least one state with at least one behaviour, the CPU usage goes to 25% (2 cores fully loaded) and GPU usage to 30%. Mind you, that is in the Editor, no play mode. So nothing is actively running. When we close the Arbor Editor, the usage is back to normal (0% when idle). We tried disabling the "Live Tracking" button.
We have seen the issue in both Unity 2019.4.16f1 and 2021.3.22f1. It is very easily reproducible in a new project:
1. Make a new project
2. Add an Arbor FSM to the scene
3. Open the editor for the FSM
4. Add a state
5. Add any behaviour to the state
6. Open Task Manager and check the CPU/GPU usage of the Unity process. Make sure that you put the Unity window back into focus by clicking on it, otherwise it will pause and have 0% usage.
The issue goes away if you remove all behaviours again. Sometimes it stops for a moment after recompiling scripts, but then it starts again when you interact the with Arbor Editor in any way.
Other info:
Windows 11
Arbor-Trial-3.9.5
Reproduction project (2021.3.22f1) attached.
Is there anything we can do to fix it?