modular-avatar
modular-avatar copied to clipboard
Issue: Input type mismatch with MA Parameters default value
Runtime information:
- Windows 11 22H2
- Unity 2022.3.6f1 with Windows, Mac, Linux build target
- Modular Avatar 1.9.4, NDMF 1.3.6
https://github.com/bdunderscore/modular-avatar/blob/8e6d8302ef5d6899f152d56649c81a8db3e38046/Editor/Inspector/Parameters/DefaultValueField.cs#L45
In this line, MA tries to parse input string to float regardness of parameter type.
(This is not throwing FormatException)
What is the behavior you see, and what did you expect to see?
When Parameter type is not float, Default field should be int field or checkbox. But in this, Default is float field regardness of param type.
The issue still persists. Any development or information about this?
This is a fairly minor issue which is difficult to resolve in the UI Elements framework. I’ll get to it eventually, but probably not before I finish moving 🙄