Unity Issue Tracker - GUIUtility.hotControl controlID value does not change when clicking with the Left Mouse Button
Closed
UUM-58399
GUIUtility.hotControl controlID value does not change when clicking with the Left Mouse Button
Unity: Scene Tooling
As Designed
2023.3.X
2023.3.0a8 onwards
2023.2.X
2023.2.0b18 onwards
2022.3.X
2022.3.14f1 onwards
Happy that was helpful! Dpn't hesitate to reach out on the forums for more info!
Reproduction steps:
1. Open the attached project "HotControls.zip"
2. Open the "TestHotControl" Scene
3. In the Hierarchy, have the "HotControls" GameObject selected
4. In the Scene view, click anywhere with the Left Mouse Button
5. Observe the hotControl values in the Console
Expected results: “mouseDown”, “Layout” and “repaint” hotControl values change on click
Actual results: “mouseDown”, “Layout” and “repaint” hotControl values remain 0
Reproducible with: 2022.3.14f1, 2022.3.15f1, 2023.3.0a18
Not reproducible with: 2021.3.33f1, 2022.3.13f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Prioritise and Follow this issue
Have a workaround or additional info about this issue?