Default Enum entry not working

Using a dynamic enum in plugin, and trying to set default entry does not work, as shown in the example patch.

Example patch and dynamic plugin (18.6 kB)

no idea if it helps, but it works for me by setting the default value with

EnumManager.UpdateEnum("EnumTester", s[1](1), s);

yes, confirmed… you can change the global default of the enum as soriak described.

Default enum works indeed, but that’s global, which is not the desired behaviour (most time I need a different default for different nodes using the same enum)

fixed in next alpha