Search Issue Tracker
By Design
Votes
0
Found in
2020.1.0a23
2020.1.0b4
2020.2
Issue ID
1233901
Regression
No
High CPU load when using GUILayout while Interaction Mode is set to "Default"
How to reproduce:
1. Open the attached project
2. Go to Tools->RockTomate->Windows->Job Editor
Expected result: CPU usage is normal
Actual result: High CPU usage
Reproducible with: 2020.1.0a23, 2020.2.0a7
Could not test with: 2017.4.39f1, 2018.4.21f1, 2019.3.10f1, 2020.1.0a22 because Interaction Mode was not introduced
Note: Only when Interaction Mode is set to Monitor Refresh Rate the CPU usage is normal, if it's set to Default or No throttling CPU usage is high
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Player remains in Windows Background processes when the application is closed
- [Android] The built-in URP shaders Lit, Complex Lit and the Simple Lit are not rendered when built on Android devices with an Adreno 300 series GPUs
- "Radio Button" disappears when added under the "RadioButtonGroup" and the parent Visual Element is selected
- ScrollView Scrollbar is jittering when Movement Type "Elastic" is selected and a mouse with a freewheel is used
- [WebGL]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
Resolution Note (2020.2.X):
The root cause of the spike is because of calling Repaint in the OnGUI of the JobEditorWindow.cs. Usually Repaint should be called after an event has changed some data, and not constantly. Consider moving the Repaint call to OnInspectorGUI method instead