ValueDropdown attribute seems to break Dictionary<string,string> drawer

Issue #560 resolved
Artyom Zuev created an issue

What happened?

Dictionary&amp;lt;string, string&amp;gt; drawer is rendered incorrectly, with fully clarified type dropdowns somehow showing up above key-value pair drawers.

How can we reproduce it?

Attach a ValueDropdown attribute to a Dictionary with string keys and values. Expected behaviour is something matching what happens when you add that attribute to a string List, but that’s not what happens. Maybe ValueDropdown could be prohibited from working on Dictionaries entirely, in favor of new dictionary specific attributes proposed here.

What version of Unity are you using?


Do you have Editor Only mode enabled?


What operating system are you on?

Windows 10 Pro x64 (10.0.17763)

Comments (4)

  1. Log in to comment