Open concertypin opened 6 months ago
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 🙄
Runtime information:
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)