- edited description
ValueDropdown attribute breaks HashSet<string> drawer
Issue #647
resolved
What happened?
Assigning a ValueDropdown attrbute to HashSet<string> breaks it, rendering that collection as a lone string dropdown field. Attempting to use the dropdown results in an invalid cast exception.
How can we reproduce it?
Simply assign a ValueDropdown attribute using IEnumerable<string> to any HashSet<string> field:
What version of Unity are you using?
2019.2
What version of Odin are you using?
2.1.11
Do you have Editor Only mode enabled?
No
What operating system are you on?
Windows 10 Pro
Comments (4)
-
reporter -
reporter - edited description
-
reporter - edited description
-
- changed status to resolved
I've identified and solved the issue. The ValueDropdown attribute was set up to only work with ordered collections, but there doesn't seem to be any reason for why it shouldn't work on unordered collections as well.
- Log in to comment