0
Fixed (Unreleased)

Dropdown UI component does not open when scene are in fulscreen

Nefisto 3 weeks ago updated by Lazlo Bonin (Lead Developer) 2 weeks ago 2

It's actually open one time after entering in fullscreen mode if u click in the dropdown for a second-time error popup. But if u go out of fullscreen and comeback to fullscreen you can open component another time, but only one again

Unity Version:
2019.4.10f1
Peek Version:
1.2.0f1
+1
Pending Review

Hi Nefisto,

Sorry you're experiencing this issue and thanks for the bug report. I'll have a look!

+1
Fixed (Unreleased)

Hi Nefisto,

Thanks again for the report. This was caused by a deep property drawer cache not being released. It will be fixed in the next version.

In the mean time, you can work around this by exiting full screen mode and selecting another object.

Or you could patch the code yourself if the fix is urgent in your workflow:

In UnityEditorDynamic.cs, add this member:

public static readonly dynamic ScriptAttributeUtility;

In UnityEditorDynamic.cs's static constructor, add this line at the end:

ScriptAttributeUtility = UnityEditorAssembly.GetType("UnityEditor.ScriptAttributeUtility", true).AsDynamicType();

In EditorPopup.cs's OnEnable, add this line after base.OnEnable:

UnityEditorDynamic.ScriptAttributeUtility.ClearGlobalCache();