Unity Issue Tracker - "Trying to access the DPI setting of a visual element that is not on a panel." Warnings are logged when entering Play Mode with the New Hierarchy enabled
Fixed
UUM-132489
"Trying to access the DPI setting of a visual element that is not on a panel." Warnings are logged when entering Play Mode with the New Hierarchy enabled
In the (Edit > Preferences > General) Window enable the "Use new Hierarchy window" flag
In the same Preferences > General window make sure "Code Optimization On Startup" is set to "Debug"
Enter Play Mode
Actual results: 3 Warnings are logged: "Trying to access the DPI setting of a visual element that is not on a panel.
UnityEditor.Search.SearchFieldElement:SetValueWithoutNotify (string)
Unity.Hierarchy.Editor.HierarchyWindow:SetSearchText (string)
Unity.Hierarchy.Editor.HierarchyWindow:SetViewState (Unity.Hierarchy.HierarchyViewState)
Unity.Hierarchy.Editor.HierarchyWindow:OnEnable ()"
Expected results: No Warnings are logged when using the new Hierarchy
Reproducible with versions: 6000.5.0a5
Not reproducible with versions: 6000.0.66f1, 6000.3.5f1, 6000.4.0b5, 6000.5.0a4
Tested on (OS): Windows 11
Notes:
Issue does not seem to depend on any Search Preferences
Prioritise and Follow this issue
Have a workaround or additional info about this issue?