Steps to reproduce:
1. Create a project
2. Window > UI Toolkit > Samples
3. Go to EnumField in Controls section
4. Double-click on C# script
5. Select any other section (ex. RadioButton)
6. Observe the warning in the Console
Actual results:
Tying to acces dpi setting of a visual element not on a panel
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:224)
warning is thrown with a typo in “access” Expected results:
Tying to access dpi setting of a visual element not on a panel
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:224)
warning is thrown with no typos
Reproducible with versions: 6000.1.0b15, 6000.2.0a9 Couldn’t reproduce with versions: 2021.3.51f1, 2022.3.61f1, 6000.0.47f1 (no warning)
Tested on (OS): macOS Sequoia 15.3.1 (Intel)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?