ValueDropdown attribute breaks HashSet<string> drawer

Issue #647 resolved
Artyom Zuev created an issue

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?


What version of Odin are you using?


Do you have Editor Only mode enabled?


What operating system are you on?

Windows 10 Pro

Comments (4)

  1. mSkull001

    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.

  2. Log in to comment